Have anybody experienced that a <hr /> in an rich text editor field get's deleted upon "save" and "save & publish" ?
It gets deleted when i create it by clicking the default button, when writing it in the html editor, it stays. I need for the client to be able to create the <hr /> using the button - therefore i can't just write it in the html editor :) - i've got styling on the <hr /> - but it's not my belive that it's got anything to do with it.
You may need to add it to the list of allowed elemnts in config/tinymcesettings.config, then do a web.config restart (touch and re-save the web.config).
I have had the same problem and the only way I could fix it was to change the following setting in the umbracoSettings.config file:
<TidyEditorContent>False</TidyEditorContent>
Setting that line to false keeps the hr tag.
Does anyone else know if there is a config file for TidyEditor?
I found a post in the old forum (http://forum.umbraco.org/yaf_postst3972_How-to-configure-Tidy-html-output.aspx), but my version of Umbraco 4.0.2 doesn't have that file
it only happens when the HR tag is embedded within a P tag. If you edit the HTML of the site and just add an HR it stays. not sure why this happens but if you can find a way to add the HR tag without it being in a P tag then this should start working again
<hr /> richtext ediot issue
Have anybody experienced that a <hr /> in an rich text editor field get's deleted upon "save" and "save & publish" ?
It gets deleted when i create it by clicking the default button, when writing it in the html editor, it stays.
I need for the client to be able to create the <hr /> using the button - therefore i can't just write it in the html editor :) - i've got styling on the <hr /> - but it's not my belive that it's got anything to do with it.
You may need to add it to the list of allowed elemnts in config/tinymcesettings.config, then do a web.config restart (touch and re-save the web.config).
Dan
Just read that you have styling - you'll need to allow this in the config file - http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elements
Hmm - evertything schould be in the most beautiful order now, but still got no result out of it.
can't find the web.config, it should not be in the config folder?
Hmm - found the web.config - in the tiny config i would expect that this were the correct way to do it or am i off on this ?
then also allowing it here
From the page above
So perhaps remove the - symbol and try again
Dan
tried removing it and, tried adding a plus, tried perhaps everything there is to try :) well diden't work. looks a bit different now
Still no effect.
To make the changes effective, you need to restart the application after you changed the config-file.
Did you do that each time after a change? (You can restart the application by touching the web.config)
HTH,
Peter
That i have done, but still no effekt, if i make an error it displays the error, so i know it's reading the file propper.
As Dan pointed out, did you this:
,hr[class|style|id|dir],
HTH, Peter
shure did - now i even tried the ,hr [*], which would enable all attributes. now my string looks like this
which is full xhtml set at http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/valid_elements#Default_rule_set: - but there is still no effect - keep restating the web.config - but it still deletes after the save
I have had the same problem and the only way I could fix it was to change the following setting in the umbracoSettings.config file:
Setting that line to false keeps the hr tag.
Does anyone else know if there is a config file for TidyEditor?
I found a post in the old forum (http://forum.umbraco.org/yaf_postst3972_How-to-configure-Tidy-html-output.aspx), but my version of Umbraco 4.0.2 doesn't have that file
it only happens when the HR tag is embedded within a P tag. If you edit the HTML of the site and just add an HR it stays. not sure why this happens but if you can find a way to add the HR tag without it being in a P tag then this should start working again
oh, i think i got it to work, in the tinyMceConfig.config file, change HR to this
i dont know what the pound sign does, but it was on the P tag and now the HR tag stays when i save it.
can someone explain to me what the pound sign does?
is working on a reply...