I am using Umbraco 6.1.2, I tried to allow my rich-text editor to use specific css properties. After I have made those changes on the rich-text editor data type all my content page nodes with a rich text editor returns this error:
I have tried to revert back to how originally the settings were and that still deosn't fix the problem. When I change the 'property editor' option to something else particulaly into a 'textbox multiple' it works but obviosly that deosn't function as that of a rich-text. Please help I need to finish this project as soon as today.
I got this error just now having created a custom data type based on the rich text editor. I found the error went away by going back into the data type and re-saving it. Guessing you may already have tried this, but just in case!
Depending on which version of Umbraco you are using you might experience the issue and here's what is causing this problem - Any datatype you edit/update is modified on the database table called "cmsdatatypeprevalues". In our case we updated a RichText editor and the error appeared, I then checked the values that were saved on the database see configuration values below. On our system, when you edit the Richtext editor datatype, there was an exception at the bottom of the page and the exception caused by a height textfield not rendering on the page, as a result when you change the configuration of the richtext datatype the only value that was saved back on the system was the width textfield and the height textfield was omitted. Now what happens is that umbraco.editorControls.dll is expecting both width and height integer values (|500,400|) to be present on the below string configuration, if not you will get a format exception. On our side the configuration only had (|500,) without 400 so umbraco was trying to convert and empty value to an integer value.
Yes it is the solution, though not nessessarliy a complete solution but more like a workaround because in my case; when I have changed something on rich-text editor datatype I then need to repalce ,400 next to 500 so that "Width and height" input will be 500,400 then save and everyhting will be fine. I seem like my CMS fails to retrieve ",400" back to the input whenever i open the datatype.
I had a similar issue with v7 where I kept getting an error saying:
the requested url returned error 404
/umbraco/UmbracoApi/Stylesheet/GetRulesByName
The issue was that I had deleted the style sheet before detaching it from the Rich Text editor, by looking in the database as Bongani suggested I saw the name of the stylesheet and recreated it (it did not need any actual content).
Then I went to the properties of the rich text editor and the style was already marked as attached. So I detached it and problem was solved. I then deleted the empty stylesheet.
Of course you may be getting a different error to me, but that may help
Rich-text Editor Returns error: Incorrect TinyMCE configuration
Hi,
I am using Umbraco 6.1.2, I tried to allow my rich-text editor to use specific css properties. After I have made those changes on the rich-text editor data type all my content page nodes with a rich text editor returns this error:
I have tried to revert back to how originally the settings were and that still deosn't fix the problem. When I change the 'property editor' option to something else particulaly into a 'textbox multiple' it works but obviosly that deosn't function as that of a rich-text. Please help I need to finish this project as soon as today.
Thank you.
We have the same problem.
Thanks
I got this error just now having created a custom data type based on the rich text editor. I found the error went away by going back into the data type and re-saving it. Guessing you may already have tried this, but just in case!
Depending on which version of Umbraco you are using you might experience the issue and here's what is causing this problem - Any datatype you edit/update is modified on the database table called "cmsdatatypeprevalues". In our case we updated a RichText editor and the error appeared, I then checked the values that were saved on the database see configuration values below. On our system, when you edit the Richtext editor datatype, there was an exception at the bottom of the page and the exception caused by a height textfield not rendering on the page, as a result when you change the configuration of the richtext datatype the only value that was saved back on the system was the width textfield and the height textfield was omitted. Now what happens is that umbraco.editorControls.dll is expecting both width and height integer values (|500,400|) to be present on the below string configuration, if not you will get a format exception. On our side the configuration only had (|500,) without 400 so umbraco was trying to convert and empty value to an integer value.
unlink,mceinsertanchor,mceimage,umbracomacro,mceinserttable,umbracoembed,mcecharmap,|1|1,2,3,|0|500,400|1049,|true|
Hope the above explanation helps, let me know if you still having issues or you need more clarity.
Can the above be marked as the solution?
Yes it is the solution, though not nessessarliy a complete solution but more like a workaround because in my case; when I have changed something on rich-text editor datatype I then need to repalce ,400 next to 500 so that "Width and height" input will be 500,400 then save and everyhting will be fine. I seem like my CMS fails to retrieve ",400" back to the input whenever i open the datatype.
I had a similar issue with v7 where I kept getting an error saying:
The issue was that I had deleted the style sheet before detaching it from the Rich Text editor, by looking in the database as Bongani suggested I saw the name of the stylesheet and recreated it (it did not need any actual content).
Then I went to the properties of the rich text editor and the style was already marked as attached. So I detached it and problem was solved. I then deleted the empty stylesheet.
Of course you may be getting a different error to me, but that may help
is working on a reply...