CKEditor Allow access to ContentBox Plugins Insert Buttons in Source Edit Mode

Description

When the source edit button is clicked, the buttons for inserting ContentStore and Widgets are disabled. Because these insert items in to the source code, directly, the need to go back to WYSIWYG mode to insert these items, generates superfluous HTML in the source, itself.

Allow access to these to buttons in source editing mode for more precise control of where these are inserted.

Activity

Show:

Luis Majano July 27, 2021 at 8:00 PM

That worked. However, none of them work since the editor.document doesn’t exist anymore since you are in source mode. I will have to investigate on this. But basically, they show up now on the source editor, but they do not work as expected.

I would appreciate some assistance here.

Jon Clausen July 27, 2021 at 3:48 PM

Looks like you can do this when configuring the custom buttons in ckeditor by passing source: 1 as a config option:

Luis Majano July 27, 2021 at 2:30 PM

I am guessing this is in ckeditor?

I would need research to see if this is even possible.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Components

Priority

Sentry

Created July 27, 2021 at 1:42 PM
Updated August 18, 2021 at 10:10 PM
Resolved July 27, 2021 at 8:01 PM