I'm using the Wysiwyg module with CKEditor 3.6.6.2.7696. The HTML attributes is disallowed in HTML text format, so I can't use font-size
and text-align
.
Any solution please?
1 Answer
go to admin/config/content/formats/filtered_html
In the limit allowed HTML tags, add the tags that you need. You could view source to see what tags are being added when you're trying to font-size and text align and then add them here.
go to:
/admin/config/content/ckeditor/edit/Advanced
(for Filter HTML)
Then under Advanced Content Filter, select disabled.
-
1I mean inline css <p style='text-align:center'>, I think that's prevented by CKEditor Commented Aug 11, 2016 at 9:34
-
-
-
@learner123 try unchecking
Correct faulty and chopped off HTML
Commented Aug 11, 2016 at 13:18 -
1Sorry for my late comment, I don't have this option in my Wysiwig version, so I disabled "Verify Html" option, see the screenshot snag.gy/E1AXNd.jpg Commented Aug 19, 2016 at 20:34