GrapesJS / GrapesJS/ckeditor

Components (link, paragraph) are recognized by GrapesJS in imported (setComponents) content

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

Description

When a Text component is edited by CKeditor its' contents remain encapsulated.
But if you import new content into the GrapesJS Editor (or use setComponents method) contents that should be encapsulated in a Text component, get identified by GrapesJS and is given id and other `gjs-` attributes.

Import this in the mjml demo:
```




Hello world​​​​​





Hello
world 2​​​​​​





```

This is how it looks like
![image](https://user-images.githubusercontent.com/25766885/228011018-efe5301e-1475-4437-973f-f4fea20c0994.png)

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.