TinyMCE not showing up on Blog dashboard on v4.7.0
When I upgraded an Umbraco
install from 4.0.x to 4.6.1, the TinyMCE editor in the blog4umbraco
dashboard CreatePost tab disappeared. I just upgraded to 4.7 and its still missing.
This also happens on a Commerce4Umbraco edit product page.
Has anything changed in TinyMCE from 4.5.2 to 4.6.1 that would cause this? Any clues for debugging this issue? The 4.5.2 upgrades I've done work fine.
I also upgraded from .NET 2.0 to .NET 4.0 so perhaps that is the issue? Is there some dlls that I need to update?
I just came across the same issue. There seems to be a change in the way that the TinyMCE control assigns the toolbar id.
I couldn't fix this properly, but a simple fix is to just add a div with the right ID to usercontrols\blog4umbraco\CreatePost.ascx. The toolbar won't display in the dashboard header but it doesnt look too bad and it actually works. It should look like this:
I've been having the same issues, using a mail component that I wrote for 4.5.2. (now on 4.7)
This works, but it's not very pretty. Hopefully it will help someone though.
protectedvoid Page_Init(object sender, EventArgs e)
{
umbraco.cms.businesslogic.datatype.DataTypeDefinition dataTypeTiny = umbraco.cms.businesslogic.datatype.DataTypeDefinition.GetDataTypeDefinition(-87);
umbraco.editorControls.tinyMCE3.TinyMCE tinymce1 = (umbraco.editorControls.tinyMCE3.TinyMCE)dataTypeTiny.DataType.DataEditor;
tinymce1.ID = "T1"; // any ID
Body.Controls.Add(tinymce1); // Body is a <asp:placeholder />
MainPanel.Menu.NewElement("div", "umbTinymceMenu_" + tinymce1.ClientID, "tinymceMenuBar", 0); // adds to menu bar
}
Somehow this didn't work in 4.7 so I took the 4.7 source and changed the OnLoad method of the umbraco.editorControls.tinyMCE3.TinyMCE back to how it was in 4.5 and now it's working again. So running on a custom version of umbraco.editorControls.dll, but at least I can use TinyMCE on a dashboard or custom section without problems :-).
TinyMCE not showing up on Blog dashboard on v4.7.0
When I upgraded an Umbraco install from 4.0.x to 4.6.1, the TinyMCE editor in the blog4umbraco dashboard CreatePost tab disappeared. I just upgraded to 4.7 and its still missing.
This also happens on a Commerce4Umbraco edit product page.
Has anything changed in TinyMCE from 4.5.2 to 4.6.1 that would cause this? Any clues for debugging this issue? The 4.5.2 upgrades I've done work fine.
I also upgraded from .NET 2.0 to .NET 4.0 so perhaps that is the issue? Is there some dlls that I need to update?
Thanks,
Jason
Hi Jason
What browsr are you using? Have you tried several browsers with the same issues?
/Jan
Good point. I'll check browsers other than FireFox.
Well, it isn't browser specific...
Any other thoughts?
I just came across the same issue. There seems to be a change in the way that the TinyMCE control assigns the toolbar id.
I couldn't fix this properly, but a simple fix is to just add a div with the right ID to usercontrols\blog4umbraco\CreatePost.ascx. The toolbar won't display in the dashboard header but it doesnt look too bad and it actually works.
It should look like this:
<div id="umbTinymceMenu_body_ctl00_bodyText"></div>
<asp:PlaceHolder ID="blogpostControls" runat="server">
I've been having the same issues, using a mail component that I wrote for 4.5.2. (now on 4.7)
This works, but it's not very pretty. Hopefully it will help someone though.
I also had issues with
But, as I'm in a bit of a rush, I used the "obselete"
I ended up just replacing it with a vanilla TinyMCE, but I'll take a look at your solution Tom.
Thanks,
Jason
Thanks Tom,
finally i able to put RTE on my edit page, following your code ...... great help ......cheers
I've had the same problem and couldn't find a good solution. Here is my code to add TinyMCE:
Somehow this didn't work in 4.7 so I took the 4.7 source and changed the OnLoad method of the umbraco.editorControls.tinyMCE3.TinyMCE back to how it was in 4.5 and now it's working again. So running on a custom version of umbraco.editorControls.dll, but at least I can use TinyMCE on a dashboard or custom section without problems :-).
Jeroen
Created an issue for this: http://issues.umbraco.org/issue/U4-1052.
Jeroen
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.