Opened 5 years ago

Last modified 5 years ago

#14415 closed Bug

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

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

Description

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>
  1. Exit source mode.
  2. 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 (0)

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