Find a way to let a user add a new line after a template that ends in a /div

Created on 11 September 2024, 2 months ago
Updated 19 September 2024, about 2 months ago

Problem/Motivation

Thanks for the great module! If you create a template that ends in a closing div tag, it is not possible to create a new line after it.

In the demo from the paid template feature https://ckeditor.com/docs/ckeditor5/latest/features/template.html they get around this with this 'add paragraph after' icon.

Steps to reproduce

  1. Create a template that is like
    Something
  2. Ensure the keyboard cursor in the editor as at the very bottom of the input area
  3. Insert the template
  4. Attempt to create a new line after the template

Proposed resolution

Not sure how to solve this if the template is not an object. I suppose one option is to automatically append with a line break, but then there is a risk of a trailing line break on saved content.

Remaining tasks

Not sure

User interface changes

TBD

API changes

N/A

Data model changes

N/A

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom scott_euser

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

Comments & Activities

Production build 0.71.5 2024