Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't delete placeholders #141

Open
porjo opened this issue Feb 5, 2018 · 0 comments
Open

can't delete placeholders #141

porjo opened this issue Feb 5, 2018 · 0 comments

Comments

@porjo
Copy link

porjo commented Feb 5, 2018

I'm using the placeholder plugin: https://ckeditor.com/cke4/addon/placeholder

When I delete text that contains a placeholder, the placeholder widget gets excluded from track changes i.e. the placeholder remains visible, and the source code shows it sitting outside the <del></del> tags.

Steps to reproduce:

  1. start with editor that contains normal text and a placeholder
  2. Delete all content in the editor
  3. Click 'Source' button twice to toggle between source and back to rendered display (simulate reload of content)
  4. Observe that placeholder deletion is not tracked. Viewing source shows it sitting outside <del> tags

I've created a reproduction of the issue here: https://pace7.com/ckeditor-issue/ **

** that's using latest track changes source from src/dist/lite and ckeditor v4.8.0 (with bundled placholder plugin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant