DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

CKEditor Editor Config Issues

Sort:
You are not authorized to post a reply.





New Around Here





    In DNN7, you could load the editor.css file if you wished to add your own styles to the editor. We used this feature to add a class for links that was linked to a speedbump warning, telling site visitors that they were leaving that site for one controlled by other parties. Clients clicked on the CssClass menu, and selected the class (we removed all the defaults, and left about 5-7 per client so they weren't overwhelmed). available classes

    On DNN5, clients had to note or remember the class names, and add them on the Advanced pane of the Add a Link window. It seems like DNN9 has rolled back to this DNN5 setup....CKEditor claims to allow you to set up your own Styles Drop-down, but when I edit anything in the Editor Config tab of the CKEditor Provider Settings and hit Save (and refresh), my Persona bar appears in black on the left, but without tools. On Inspect Element, it looks like the iframe of the Persona Bar guts just aren't being loaded at all.

    blank persona barAdditionally, Publish may or may not work, and if it works (not sure), the window that says "Your page has been published!" does not go away, the Publish/Discard menu at the bottom does not go away, and the page does not reload with the updated content. 

    While some of this issue may be caching - because I can go to a private window in Firefox, or try Chrome, and the Persona Bar loads fully and I can once again edit - if I attempt to edit the Editor Config settings again, the problem starts again. Sometimes after clearing my cache, the problem persists. Sometimes I can "go in and edit again," but the Rich Text Editor does not appear in Advanced Editing. Since we're in the beginning stages of how we can start creating sites on DNN9 and still provide the features our clients need, this inability to test or edit is highly frustrating. 

    Chrome seems a little better - like it's not shutting off the Persona Bar, but then I have an unrelated issue to my Chrome misbehaving with fonts, so I avoided using that browser in the past. But even in Chrome, after I edit the Config, the rich text editor is not displaying. no rich text editor here

    thank you!

     






    New Around Here





      I'm answering myself for anyone else searching for this same topic. The info is "needle in a haystack" over in the CK Editor's documentation (which on our DNN version, the link is wrong!) so please review this topic for information on setting up your own styles in CK Editor.
      https://ckeditor.com/docs...features/styles.html





      Advanced Member





        Thanks Jason - What version of CK Editor are you running on your DNN site (and which DNN version)?

        I'm just curious because I upgraded DNN to 9.6.1, and I am running CKEditor Editor Provider 2.1.27 and DNN Connect CKEditor Provider 1.0.8, and I'm wondering is these are the best versions to be using.

        Thanks for any insight you might have .

        Tom
        You are not authorized to post a reply.

        These Forums are dedicated to the discussion of DNN Platform.

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

        1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
        2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
        3. 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.
        4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
        5. No Flaming or Trolling.
        6. No Profanity, Racism, or Prejudice.
        7. Site Moderators have the final word on approving / removing a thread or post or comment.
        8. English language posting only, please.

        Would you like to help us?

        Awesome! Simply post in the forums using the link below and we'll get you started.

        Get Involved