silverstripe / cwp

Common Web Platform (CWP) features module. We strongly recommend using it for all new CWP projects. Future features will be delivered here.
https://www.cwp.govt.nz
BSD 3-Clause "New" or "Revised" License
10 stars 27 forks source link

FIX re-enable TinyMCE anchor plugin #245

Closed NightJar closed 4 years ago

NightJar commented 4 years ago

The default profile in Silverstripe CMS 4 does not have the anchor plugin enabled. It also seems that the copy-pasted config is not actually 'inheriting' the default editor settings (as is the nature of a re-definition), and thus the CWP editor config did not have the anchor plugin enabled.

Perhaps the CWP config could be made to 'inherit' from the default CMS config, via getOptions and setOptions, but this should be a separate issue.

Resolves #244