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...Module ForumsModule ForumsRepositoryRepositoryEditor stripping html/scriptEditor stripping html/script
Previous
 
Next
New Post
1/2/2013 8:07 PM
 
Thanks for the pointer to the HTMLEditorConfiguration; that's the kind of info I was looking for. Unfortunately, changing that setting (or any of the other available options) still doesn't prevent the editor from removing the "0nmouse0ver" text....
 
New Post
1/3/2013 2:57 AM
 

I would recommend Will Strohl's Content Injection for DotNetNuke to inject additional Javascript, CSS, Metatags... whatever you want. This module is available for free on CodePlex. The HTML module is not a good solution for doing that.

Best wishes
Michael


Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
2/7/2013 11:21 PM
 

The format stripping mode works perfectly well in the RADEditor (only in iFrame mode) and the CKEditor as well

I tried them and you can have all plain text or any number of another option, the choice is yours

It can be applied on the Security Roles level and for the CKEditor on the module level as well.

No need for a plain text box.

 
New Post
2/13/2013 11:06 PM
 

I received this from Telerik:

 

From: Telerik Admin
Date: 2/13/2013 12:04:00 PM

Hello,

The workaround that I would propose is to attach to the onpaste event of the div content area and fire the PasteFromWord command of RadEditor, which will open the Paste from Word dialog. Your users will paste the Word content in it and after clicking the Paste button, the stripped content will be pasted in the editor:

<telerik:RadEditor ID="txtItemSubject" runat="server" OnClientLoad="OnClientLoad"

  ContentAreaMode="Div">

</telerik:RadEditor>

<script type="text/javascript">

function OnClientLoad(editor, args) {

  editor.attachEventHandler("paste", function (e) {

     editor.fire("PasteFromWord");

     $telerik.cancelRawEvent(e);

     return false;

});

}

</script>


For your convenience I have recorded a video demonstrating my test and the workaround: http://screencast.com/t/kD7eoYak.


Kind regards,
Rumen
the Telerik team



 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryEditor stripping html/scriptEditor stripping html/script


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