Allow Readmore inside of divs other than .ckeditor-readmore divs

Created on 13 January 2021, about 4 years ago
Updated 28 March 2024, 10 months ago

Currently the Read More button becomes deactivated when an existing div in CKEditor is selected. In the code comments, it says this is to prevent nesting.

I wonder if the goal is just to prevent nesting, if we can specify to check for a div with class "ckeditor-readmore"? I have a use case where I'd like to add a Read More button inside of an unrelated div.

I've made a patch and will upload shortly.

Feature request
Status

Needs work

Version

3.0

Component

Code

Created by

🇺🇸United States Jill L

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024