These docs are for v3.2. Click to read the latest docs for v5.0.

Discussions

Ask a Question
Back to All

Customizing CKEditor, json...isn't

I'm trying to customize my CKEditor, and it shows how to customize here: https://opencontent.readme.io/docs/field-types#section-rich-text-with-ckeditor

Only that's not json, and the editor won't save it.

MISSING {
"Text" : {
"type":"ckeditor",
"configset":"basic",
"ckeditor":{
"stylesSet" : {
MISSING NAME { "name": "Title small", "element": "h2", "attributes": { "class": "h4" } },
MISSING NAME { "name": "Note", "element": "span", "attributes": { "class": "note" } }
}
}
}
MISSING }

What kind of format is this? I presume this goes in Form > Options?