Use "string" instead of "text" in type check?
Ah, just saw this: https://github.com/artf/grapesjs/issues/372
Read full answer below ↓Question
The line below does not seem to work for when the "text" parameter is a string. Should the "typeof text === 'text'" really be "typeof text === 'string'"? Is there even ever a "text" type in Javascript? According to this source there isn't: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures
Thanks for any inputs and a potential fix to this (unless it's not a but and I'm just plain missing something?)
Answers (2)
Ah, just saw this: https://github.com/artf/grapesjs/issues/372
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #508
If you add a checkbox trait, it does not render correctly in the settings panel unless there is also a text trait
A text trait and a checkbox: Results in: If checkbox only: The checkbox overlaps the label:
Issue #1965
Custom content type
@artf Instead of using plugins js files, can we create our own content using html as I have done below. Is it a correct way to do it? Sorry...
Issue #599
Set Device Height along with Device Width
Hi I want to add new devices with both width and height, Is there any way I can do this? An other issue is that when I give width of device...
Issue #335
Related Links ?
On the newletters demo, the linking of text does not work with the ckeditor plugin, the code is not updated. We are forced to click again o...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Related tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.