Jump to content

Adding Text Formatting Options Like H2 to CKEditor


Action_Builder

Recommended Posts

Posted

I want to add h2,h3,h4,h5 tags to the CKEditor used by IPS4. I found out how to do it here on the CKEditor website.

Here are the instructions:

Enable All Block-Level Text Format Globally
1) Open the config.js file available in your ckeditor directory, and edit the config.format_tags entry in the following way:
// Enable all default text formats:
config.format_tags = 'p;h1;h2;h3;h4;h5;h6;pre;address;div';
 

Two Questions:

  1. Will the modified config.js file be replace each time IPS upgrades the cloud version of IPS?
  2. If this config.js file reverts back to the default will the h2,h3,h4,etc tags no longer display correctly in previous posts that were made using the CKeditor with the modified config.js file?

 

 

Posted

1. It depends if the file is included in the delta package, if you do that upgrade...so maybe. If you download the full package yourself and use that to do the upgrade, then yes.

2. Possibly, but only if the already entered content is edited while the items are not in the config.js

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...