GrapesJS / GrapesJS/ckeditor

CKeditor4 issue with Enter new line + press enter

Open
#49 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
110
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Hi, if someone looking for solve for issue with new line.

I have solution:

```
CKEDITOR.on('instanceCreated', function(e) {
e.editor.on('change', function (event) {
const selectedText = editor.getSelected();
editor.trigger(`component:update component:input`, selectedText);
});
});
```

It's for update block after each changes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.