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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Telerik Editor Changing CSSTelerik Editor Changing CSS
Previous
 
Next
New Post
8/14/2011 4:48 PM
 
Is there a way to force the Telerik editor to save HTML exactly as I code it? I realize in most instances it might be formatting CSS code correctly, but it is so frustrating when I type in something like this and it gets changed.

style="background:url(images/12.png) center center no-repeat;">
Here is how this is converted when I save it.

style="background-image: url(/images/12.png); background-position: 50% 50%; background-repeat: no-repeat no-repeat;"
The real issue I seem to be having is with the background-repeat: no-repeat no-repeat.

This seems to cause it to actually repeat. I tested it at http://www.w3schools.com/cssref/tryit.asp?filename=trycss_background-repeaty
and it repeats. If I remove one no-repeat it doesn't repeat at all. I am assuming that there are two no-repeats for x and y.

I would like to test some things here, but Telerik keeps changing it. I know I can do it in my CSS but I just wanted to test it out in the HTML module with inline style and I got frustrated enough to write this post and see if there is a solution.

Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
8/15/2011 4:21 AM
 
The telerik editor has a large number of configurable parameters that control which content filters are applied to HTML you create
 - but depending on which version of dnn you are using - there are different ways to manage them.

If you are using dnn 5.x then I would suggest using http://radeditor.codeplex.com/release... - the dnnwerk radeditor provider it provide you will access to a lot of the formatting control settings.

Alternatively if you are using dnn6 , make sure you have the new HTML Editor Manager in your host settings - this will let you control even more parameters - http://demos.telerik.com/aspnet-ajax/... lists the filters that are being used:

And in dnn600 and in dnn562 using the dnnwerk provider - you can disable or enable all of the following:

RemoveScripts
ConvertToXhtml
MakeUrlsAbsolute
IndentHTMLContent
FixUlBoldItalic
EncodeScripts
FixEnclosingP
OptimizeSpans
IECleanAnchors
ConvertCharactersToEntities
MozEmStrong
PdfExportFilter
ConvertFontToSpan

Westa
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Telerik Editor Changing CSSTelerik Editor Changing CSS


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