Changeset 32057 for main/trunk/greenstone3
- Timestamp:
- 2017-10-30T18:41:26+13:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/js/ckeditor/config.js
r30309 r32057 10 10 // config.language = 'fr'; 11 11 // config.uiColor = '#AADC6E'; 12 13 // Stop CKEditor from removing the attributes from HTML elements in doc.xml 14 // e.g. <P ALIGN="JUSTIFY"></P> in the original doc.xml gets turned into 15 // <p></p> when viewing the doc in editing mode and then, this ends up 16 // getting saved with user changes upon SaveAndRebuild. 17 // http://nightly.ckeditor.com/17-10-29-07-04/full/samples/old/datafiltering.html 18 // https://sdk.ckeditor.com/samples/acf.html 19 // https://stackoverflow.com/questions/15659390/ckeditor-automatically-strips-classes-from-div 20 // The following stops CKEDITOR from meddling with existing HTML: 21 config.allowedContent = true; 12 22 };
Note:
See TracChangeset
for help on using the changeset viewer.