You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/docprops/samples/docprops.html
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,18 @@ <h1 class="samples">
30
30
<preclass="samples">
31
31
CKEDITOR.replace( '<em>textarea_id</em>', {
32
32
<strong>fullPage: true</strong>,
33
-
<strong>extraPlugins: 'docprops'</strong>
33
+
<strong>extraPlugins: 'docprops'</strong>,
34
+
<strong>allowedContent: true</strong>
34
35
});
35
36
</pre>
36
37
<p>
37
38
Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
38
39
the <code><textarea></code> element to be replaced.
39
40
</p>
41
+
<p>
42
+
The <code><em>allowedContent</em></code> in the code above is set to <code>true</code> to disable content filtering.
43
+
Setting this option is not obligatory, but in full page mode there is a strong chance that one may want be able to freely enter any HTML content in source mode without any limitations.
Copy file name to clipboardExpand all lines: plugins/wysiwygarea/samples/fullpage.html
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,18 @@ <h1 class="samples">
29
29
</p>
30
30
<preclass="samples">
31
31
CKEDITOR.replace( '<em>textarea_id</em>', {
32
-
<strong>fullPage: true</strong>
32
+
<strong>fullPage: true</strong>,
33
+
<strong>allowedContent: true</strong>
33
34
});
34
35
</pre>
35
36
<p>
36
37
Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of
37
38
the <code><textarea></code> element to be replaced.
38
39
</p>
40
+
<p>
41
+
The <code><em>allowedContent</em></code> in the code above is set to <code>true</code> to disable content filtering.
42
+
Setting this option is not obligatory, but in full page mode there is a strong chance that one may want be able to freely enter any HTML content in source mode without any limitations.
0 commit comments