#1 September 24, 2014 9:59am

jmason03
Member
Registered: January 9, 2014
Posts: 123

Editing Array of Items with TinyMCE4

When I setup an array of items where one of them had an html editor in it, when I would go to edit that item the TinyMCE4 html editor would not appear. It would appear if I was adding an item but not if I was editing one. I believe the problem resides in core/admin/js/main.js within the BigTreeArrayOfItems class and then under editItem there needs to be the same check based on the if (tinyMCE.majorVersion == 4) found in addItem. When editing an item it is only set to call the TinyMCE3 initialize which causes a problem if you are set to TinyMCE4. Once I copied that if to the edit item section everything worked fine.

Thanks

Offline

#2 September 24, 2014 10:01am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 978

Re: Editing Array of Items with TinyMCE4

This should be fixed in the development branch. Check out this commit for how to fix it in the meantime:

https://github.com/bigtreecms/BigTree-C … 5418cb1bf7

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.