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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 9.1.1 HTML Editor changes HTML Tags when Swithing from WYSIWYG and Source EditorDNN 9.1.1 HTML Editor changes HTML Tags when Swithing from WYSIWYG and Source Editor
Previous
 
Next
New Post
3/15/2018 6:42 PM
 

Hello Everyone,

This is my first posting here but I have been using DNN from its beginning.  I have a new DNN9.1.1 install with Mandeeps Porto4 and two of their other modules installed.  When I edit the HTML in an HTML module and flip between the WYSIWYG and Source Editor it's changing my tags around and causing issues with my results.  I do realize some of the HTML I'm using technically is not strict XHTML compliant but what the editor is changing it too is not either.  Simple example is <div> inside a <a> tag.  These code snippets are from the Porto theme and others I work with.

My work around currently is writing and storing ALL my HTML in NotePad++ then cutting and pasting it into the editor in the source code view and them saving it without switching back to the WYSIWYG.  If I need to edit the HTML I open the module which opens the WYSIWYG  view which changes the tags around.  Then switch to source code view and re-paste from NotePad++.  This is not the solution I want but for the moment I have to meet client deadlines. 

Is there a setting somewhere to tell the HTML editor to leave the code as is?  Does DNN9.2 coming out this month fix this issue?

I have tried this options but it does not work:

    CKEDITOR.config.allowedContent = true

    https://ckeditor.com/old/forums/CKEditor/CKEditor-disable-auto-editing-HTML-code

 

 
New Post
3/31/2018 7:27 PM
 

While you are in the editor and in WSIWYG mode, have you clicked on the link just below the editing box? The one for Customer Editor Options?  Try turning off some of the defaults for code replacements. There can be a special config for each site.

 

 

Be careful, but there is the option to revert to default if you screw something up.


Bob
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 9.1.1 HTML Editor changes HTML Tags when Swithing from WYSIWYG and Source EditorDNN 9.1.1 HTML Editor changes HTML Tags when Swithing from WYSIWYG and Source Editor


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2018 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out