Rad Editor content is not coming in <p> tag for single line text.
In Current Version 2018.2.710.45
While I put single line text like "Test" in rad editor and getting value in debug mode as "Test"
In Previous Version 2013.2.717.45
While I put single line text like "Test" in rad editor and getting value in debug mode as "<p>Test</p>"
My expected result is "<p>Test</p>" in this version 2018.2.710.45;
This is happening only for single line text .
Please give any solution.
5 Answers, 1 is accepted
There is a content filter named FixEnclosingP, which strips the empty p tag which Internet Explorer automatically puts in an editabble iframe - as the content area of RadEditor.
This filter is enabled by default and you can disable it by setting
Thanks for reply.
It is right and its working for version 2013.2.717.45 .
But after upgrade from 2013.2.717.45 to 2018.2.710.45 it's not working..
As per my post i want the single line text in "<p>" tag like that "<p>Test</p>" but its coming like that "Test".
My conent filter setting is given below.
What should i need to do for O/P:"<p>Test</p>" in version 2018.2.710.45 ?
If you have any solution then please update me.
Here you are a custom filter implementation which takes care of adding the paragraph tag surrounding over the single line or empty content area:
You can further enhance it, if needed.
Its working fine for me.