silverstripe / silverstripe-admin

Silverstripe Admin Component
BSD 3-Clause "New" or "Revised" License
25 stars 91 forks source link

ENH Remove duplicated default settings from cms TinyMCE config #1725

Closed GuySartorelli closed 2 months ago

GuySartorelli commented 2 months ago

Description

Requires https://github.com/silverstripe/silverstripe-framework/pull/11201 Removes the duplication of default settings for the cms TinyMCE config instance. This does two things:

  1. Removes duplication, so if we make a change we only have to change it once
  2. Ensures changes to the defaults will apply to the cms config, which is appropriate.

Note that this config has some extended_valid_elements defined - I've opted to not include that in the default set, because these elements aren't things you're likely to want in most of your WSIWYG fields. In a future major release we'll probably be removing these from the cms config as well.

Issues