Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorHELP! CKEditor 4.5.3 - DNN 8.0.4HELP! CKEditor 4.5.3 - DNN 8.0.4
Previous
 
Next
New Post
1/29/2017 3:45 PM
 

I have 2 questions about CKEditor 4.5.3.

Issue 1. How do you add custom StyleSets to the CKEditor.  I had to add my custom styles to the “styles.js" file which is not the best way to do it. There is a multiline textfield under "Host > HTML Editor Manager" called StyleSet. How do you create “{ name: 'Alert Blue’,  element: 'div', attributes: { 'class': 'alert alert-info' } },” as a value for this field. I cannot find any examples online.  


Issue 2. The text-area inside the CKEditor is in a iframe which means its not pulling in my stylesheets. For example i added about 15 custom styles to styles.js file, but when i select a custom style from the dropdown it does not show it styled in the text-area. You literally have to save your changes and refresh the page to see how it looks :-(.  As a work around, I had to add my style sheets as imports to “CkEditorContents.css” file.  My question is, Is there a way to add multiple style sheet inside the iframe without having to change the core code.  I do not see a way under  "Host > HTML Editor Manager”.


Both of the above scenarios changes core code which is an issue on upgrades.


Thanks for any help….  


Tim


Tim Maler
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorHELP! CKEditor 4.5.3 - DNN 8.0.4HELP! CKEditor 4.5.3 - DNN 8.0.4


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out