User Tools

Site Tools


how_to:editor_configuration_custom_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
how_to:editor_configuration_custom_files [2013/05/21 10:15]
yojoe [HTML or XHTML output ?]
how_to:editor_configuration_custom_files [2013/05/21 10:16]
yojoe [HTML or XHTML output ?]
Line 189: Line 189:
 ===== HTML or XHTML output ? ===== ===== HTML or XHTML output ? =====
 CKEditor by default wraps the content using XHTML tags (every tag has to be enclosed), and in such way formats it. \\ CKEditor by default wraps the content using XHTML tags (every tag has to be enclosed), and in such way formats it. \\
-To get rid of / in closing tags (to achieve for example ​[b]''​ <br> ''​[/b] [HTML] instead of [b]''​ <br /> ''​[/b] [XHTML]) upon saving page , \\+To get rid of / in closing tags (to achieve for example ​**''​ <br> ''​** [HTML] instead of **''​ <br /> ''​** [XHTML]) upon saving page , \\
 you need to edit CKE's ''​ config.js ''​ file located in ''​ admin/​template/​js/​ckeditor/​ ''​ , and add below code: you need to edit CKE's ''​ config.js ''​ file located in ''​ admin/​template/​js/​ckeditor/​ ''​ , and add below code:
  
how_to/editor_configuration_custom_files.txt ยท Last modified: 2013/05/21 10:16 by yojoe