ckan / ckanext-pages

A simple builtin CMS for CKAN sites
GNU General Public License v3.0
51 stars 99 forks source link

Adding configuration for CKEditor to render styles in the editor #96

Closed uwaheed88 closed 4 years ago

uwaheed88 commented 4 years ago

This PR fixes a bug that caused styles to not being properly displayed in ckeditor when editing pages/blogs. The following gif shows the behavior to fix.

index

To solve it I added a new config based on the solution proposed here.

amercader commented 4 years ago

Thanks @uwaheed88. This effectively allows all tags and attributes in the edited HTML but we will assume that admins are mindful of the code they add to the site pages.