-
Notifications
You must be signed in to change notification settings - Fork 214
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
Using textable
components
#160
Comments
Hello, did you had any news on the way to do it via textable components ? |
No, unfortunately, nothing I've tried has solved the problem I'm facing. Either with textable components or a text editor extension. |
A solution I could think of is, to override the default Text.js Component with a new custom component which is similar to the Text Component from the root project, that it can handle the |
Hello everyone ! I'm able to create a textable component, which could be dragged into an I tried the solution proposed by @AlexanderFinkbeiner but I can't make it working... Any ideas @artf ? Thanks and have a nice day ! |
I've been trying to find a way to insert placeholder text into my template all day. I spent a long time trying to use the
insertHTML
method of the RTE, which I had some success with, but I couldn't restore the cursor position after closing the popup. Everything I tried, the cursor would jump to the beginning.I then came across the
textable
property mentioned on the main GrapesJS git here: GrapesJS/grapesjs#481 and on this mjml plugin git here: #32That does not seem to be cooperating either. I'm able to drag the component to the template, but it's then completely unusable. I can't move it, change it, delete it, or anything. It seems to only add to the column and not the text blocks, which I imagine is a part of the issue. Presumably, that's due to a difference between normal Text components and MJ-Text components, but I have no idea how to resolve that.
If anyone has any advice, I'd love to hear it! I'm indifferent to doing this through the textable components or through the RTE insert, so any clues to making either one work would be great
The text was updated successfully, but these errors were encountered: