sitecore6 - Stop Sitecore from including <p> and &nbsp in rich text editor -


i want text , hyperlinks, , not <p> tags. have had issue when putting in list, , each <li> gets &nbsp put in front of being recognized new paragraph.

is there way stop rich text editor adding these in?

the sitecore rich text editor configurable in variety of ways. internally it's instance of telerik rad editor. hence can apply many of same configuration strategies documented on telerik's site it.

a while wrote blog post how can stop editor form messing html:

http://jermdavis.wordpress.com/2014/04/06/ever-wished-the-rich-text-field-didnt-mess-with-your-html/

while that's not addressing exact issue, general strategy there configuring internal behaviour of editor can used meet requirements. underlying editor has series of filtering behaviours can enable , disable requirements. "fixenclosingp" , "convertcharacterstoentities" options might of here? they're documented on telerik's website:

http://www.telerik.com/help/aspnet-ajax/t_telerik_web_ui_editorfilters.html

there other strategies, such post-processing html that's saved editor. sitecore's saverichtextcontent pipeline might of here? blog post might offer ideas how can used:

https://techmusingz.wordpress.com/2014/06/14/wrapping-rich-text-value-in-paragraph-tag-in-sitecore/


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -