[upstream] HTML5 transparent content model support - block-level links in CKEditor

Created on 7 February 2018, over 6 years ago
Updated 8 March 2024, 4 months ago

CKEditor at now don't allow by default insert <div> elements inside <a>, here https://github.com/ckeditor/ckeditor-dev/issues/514 this problem is accepted and provided a solution via redefine DTD in config:

// Simply redefine DTD like this:
CKEDITOR.dtd['a']['div'] = 1;
CKEDITOR.dtd['a']['p'] = 1;
CKEDITOR.dtd['a']['i'] = 1;
CKEDITOR.dtd['a']['span'] = 1;

Before this will be fixed in CKEditor, Drupal users already want to use HTML5 transparent content model support.

So will be good to apply provided solution in Drupal core.

✨ Feature request
Status

Postponed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡²Armenia Murz Yerevan, Armenia

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.69.0 2024