Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am trying to use the hr-tag in the richtext editor, and when I do it shows up in the editor itself, but when I save it just disappears again.
Has anyone had the same problem? And how do I solve it?
Does HR appear in the ValidElements list at \config\tinyMceConfig.config ? It may just need to be added
hr[class|style]
Dan
its there in mine but it is also getting erased and just an empty P tag is left in its place. when inserted it puts the HR tag in a P tag but if you put it in manually it works. not very UI friendly
I'm looking into this aswell now. Is there any solution to this?
i found that this works
#hr[class|style]
but i am not sure what the pound sign means... so use at your own risk i guess?
# = Enables padding of empty elements. This will pad with if they are empty. For example, "#p".
Here's a full list of what the control characters mean in validelements:
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elements
-Chris
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Horizontal ruler (<hr />) won't work in Richtexteditor...!?
I am trying to use the hr-tag in the richtext editor, and when I do it shows up in the editor itself, but when I save it just disappears again.
Has anyone had the same problem? And how do I solve it?
Does HR appear in the ValidElements list at \config\tinyMceConfig.config ? It may just need to be added
Dan
its there in mine but it is also getting erased and just an empty P tag is left in its place. when inserted it puts the HR tag in a P tag but if you put it in manually it works. not very UI friendly
I'm looking into this aswell now. Is there any solution to this?
i found that this works
#hr[class|style]
but i am not sure what the pound sign means... so use at your own risk i guess?
# = Enables padding of empty elements. This will pad with if they are empty. For example, "#p".
Here's a full list of what the control characters mean in validelements:
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elements
-Chris
is working on a reply...