redeploy to access h4-h6 elements in ckeditor?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
1/28/2014 12:32:47 PM
Gravatar
Total Posts 130

redeploy to access h4-h6 elements in ckeditor?

Hello. I'm running on 2.4.0.2 MSSQL multisite and am using ckeditor.  I have overridden the h1-h3 web.config mappings and am trying to gain access to ckeditor's h4-h6 tags to display in the editor dropdown.  The only way I can see doing this to modify CKeditorStyles.ashx.cs and Web.configSettings.cs. 

Is there a way to get access to the h1-h6 ckeditor settings without having to alter the source code of the application and redeploy?

Thanks,

Beth

1/28/2014 12:47:13 PM
Gravatar
Total Posts 18439

Re: redeploy to access h4-h6 elements in ckeditor?

Hi Beth,

You would have to override the path to the config file used for CKEditor as discussed in the article Customizing the Editor Toolbars.

You could copy our config file and rename it to make a custom one then you need to add this and modify it to your needs, it is shown with the default values which is what you get by just leaving it out of the config file.

config.format_tags = 'p;h1;h2;h3;h4;h5;h6;pre;address;div';

For details on configuration options see also the CKEditor documentation

Hope that helps,

Joe

1/28/2014 12:51:16 PM
Gravatar
Total Posts 18439

Re: redeploy to access h4-h6 elements in ckeditor?

Actually I think their documentation is wrong on this point about the default values because if those were the actual default values then the h4-h6 would be there already since we are not changing it from the default and it doesn't currently show those even on their demo site.

You must sign in to post in the forums. This thread is closed to new posts.