need to revert back to old Tinymce 3 (depreciated)
Using Umbraco 4.0.2.x The new Tinymce does not work for us, when users paste from word it is totally unusable where as the old tiny was able to deal with word formatting better.
I tried going back to the old editor (developer -> datatype-> richtexteditor and chose Tinymce v3 (depreciated) which works better as an editor but everytime the user clicks on a node in content to edit they are faced with a huge nag dialog box that "we are using an old version of Tiny and should upgrade...bla..bla..bla" . This is unacceptable to the users and as a result we are forced to go back to version 3.0.5
are there any other alternatives for editors other than Tiny? or some way to remove the annoying nag dialog box?
I think I have found the message you are talking about. It is not the DataTypeName. You should leave that as it is. But have a look at the code in the project umbraco.editorControls/tinymce/webcontrol/TinyMce.cs
There is the following line in the Render method:
/// <summary> /// Draws the editor /// </summary> /// <param name="outWriter">The writer to draw the editor to</param> protected override void Render(HtmlTextWriter writer) { writer.WriteLine("<!-- tinyMCE -->\n"); // writer.WriteLine("<script language=\"javascript\" type=\"text/javascript\" src=\"" + JavascriptLocation + "\"/>\n"); writer.WriteLine("<script language=\"javascript\" type=\"text/javascript\">"); writer.WriteLine("tinyMCE.init({");
... ... // write a message that this is deprecated writer.WriteLine("alert('This page use an old version of the Richtext Editor (TinyMCE2), which is deprecated and no longer supported in Umbraco 4. \\n\\nPlease upgrade by going to\\n- Developer\\n- Data Types\\n- Richtext editor\\n- And choose \\'TinyMCE3 wysiwyg\\' as the rendercontrol\\n\\nIf you don\\'t have administrative priviledges in umbraco, you should contact your administrator');");
Remove the line with the alert would solve the problem I guess
need to revert back to old Tinymce 3 (depreciated)
Using Umbraco 4.0.2.x The new Tinymce does not work for us, when users paste from word it is totally unusable where as the old tiny was able to deal with word formatting better.
I tried going back to the old editor (developer -> datatype-> richtexteditor and chose Tinymce v3 (depreciated) which works better as an editor but everytime the user clicks on a node in content to edit they are faced with a huge nag dialog box that "we are using an old version of Tiny and should upgrade...bla..bla..bla" . This is unacceptable to the users and as a result we are forced to go back to version 3.0.5
are there any other alternatives for editors other than Tiny? or some way to remove the annoying nag dialog box?
I took a look in the sourcecode of Umbraco. In the namespace umbraco.editorControls.tinymce the class TinyMCEDataType has a property DataTypeName:
One possibilty is to make changes in that code and recompile it. I am not sure however what the return value should be though.
Nico
I think I have found the message you are talking about. It is not the DataTypeName. You should leave that as it is. But have a look at the code in the project umbraco.editorControls/tinymce/webcontrol/TinyMce.cs
There is the following line in the Render method:
Remove the line with the alert would solve the problem I guess
Nico
is working on a reply...