ckeditor icon indicating copy to clipboard operation
ckeditor copied to clipboard

Add config attribute to field to help scope styles by assigned CKEditor configuration

Open webrgp opened this issue 1 year ago • 1 comments

I have a couple of CKEditor fields with different configurations. In order to be able to share common styles between editors while keeping the differences separated, it would be helpful if the field rendered a data attribute with the configuration in use, similar to data-type="craft\fields\PlainText", using the CKEditor config name.

I the project I am working on it has a matrix field with a couple of different CKEditor fields that could use this.

webrgp avatar Aug 30 '24 19:08 webrgp

Hi, thanks for getting in touch! I raised a PR for this. You can find a bit more info in the PR’s description.

i-just avatar Sep 11 '24 13:09 i-just

CKEditor 3.10.0 and 4.3.0 are out with that new data-config attribute.

brandonkelly avatar Oct 19 '24 14:10 brandonkelly