Opened 5 years ago

Last modified 5 years ago

#14415 closed Bug

<summary> not handled correctly — incorrect DTD? — at Version 2

Reported by: Wim Leers Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.5
Keywords: Cc: wim.leers@…

Description (last modified by Wim Leers)

Steps to reproduce

Originally reported at https://www.drupal.org/node/2656566.

  1. Disable ACF.
  2. Enter source mode and paste
    <details>
    	<summary>
    		<div>summary</div>
    	</summary>
    	<div>content</div>
    </details>
    
  3. Exit source mode.
  4. Enter source mode again.

Expected result

Markup is identical to the pasted markup.

Actual result

<details><summary></summary>

<div>summary</div>

<div>content</div>
</details>

Note how <summary> is empty.

Suspected cause: <summary> incorrectly defined in CKEditor's DTD?

Other details (browser, OS, CKEditor version, installed plugins)

Drupal 8 (8.0.3 or 8.1.x). Go to /node/add/article, choose the "Full HTML" text format (to disable ACF) and then apply the STR above.

Change History (2)

comment:1 Changed 5 years ago by Wim Leers

Keywords: Drupal added

comment:2 Changed 5 years ago by Wim Leers

Description: modified (diff)
Note: See TracTickets for help on using tickets.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy