Fix the classic block TinyMCE init array #10966
Labels
[Block] Classic
Affects the Classic Editor Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Milestone
The TinyMCE init array cannot be JSON encoded safely like in
$scripts->localize()
. Some setting values can be (js) functions, other may be passed as objects or arrays in thetiny_mce_before_init
filter. It has to be converted from php to js "by hand" and outputted as raw js from php.The text was updated successfully, but these errors were encountered: