Comments (5)
GrapesJS can't figure it out by itself when you expect to start the Text Component so it's just trying "somehow" to guess it. In this case, it treats those <span>
s as individual Text Component (the error is thrown by CKEditor just because it doesn't like to launch the editor on tags as <span>
, <a>
, etc.) but I think in your case you just want a single text component. You might help GrapesJS parsing with this trick:
<td>
<!-- Let the editor know about the Text Component -->
<div data-gjs-type="text">
...
<span> Oferta válida até o ... </span>
...
</div>
</td>
from ckeditor.
@artf , It worked perfectly, thank you very much. How can I use ckeditor to insert the link into the image? I would like to use this option, but the ckeditor is not initialized in the images.
from ckeditor.
Did you try using 'Link Block' (available in demo)? You can add the link and then drop whatever you want (eg. images)
from ckeditor.
@artf , Yes, I did, but I did not find it very practical. Sometimes the layer of the image, due to overlapping it is bad to select the link block.
In my opinion, it is more practical you insert the image and in the properties insert a link ... my ideal would be something of the type the attachment
from ckeditor.
Totally agree with you, but at the moment it's not possible, I have to create a new component for this purpose
from ckeditor.
Related Issues (20)
- Uncaught TypeError: Cannot set properties of undefined (setting 'dir') HOT 1
- Wrong position when open ckEditor. HOT 1
- CkEditor gets squeezed into small columns HOT 1
- How to remove the Links from toolbar for Anchor tags HOT 1
- TinyMCE + Froala New RTE for GrapesJS HOT 1
- Are there any known issues with using CKEditor 5?
- Components (link, paragraph) are recognized by GrapesJS in imported (setComponents) content
- CkEditor doesn't show Angular 14 HOT 1
- Could you please update the project to work with break-change from GrapesJS v0.20.1? HOT 1
- CKEditor loses connection (detaches) if text component is changed (rerendered on canvas) HOT 7
- CKEditor @mentions not working HOT 3
- can not add custom dropdown in ckeditor HOT 2
- BUG: Toolbar of ckeditor components is not correctly refreshed
- The specified element mode is not supported on element: "a". HOT 3
- Toolbar align not working
- Does it support the option of customizing the tools toolbar?
- typescript errors HOT 1
- How to enable or deactivate ckeditor for label component? HOT 1
- Anchor tag click to getting error and text not change
- RTE Toolbar cropped when close to canvas edge
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckeditor.