[BUG] Link elements are not copyable/deletable
Question
In the editor, if we have link element with some classes, the editor does not allow to copy/delete the element.
GrapesJS version: v0.14.50
Steps to reproduce:
- Open https://grapesjs.com/demo.html
- Import following simple link tag
<a href="#" class="btn btn-lg d-block d-lg-inline-block">Get Started</a>
- Select it and click on copy icon or delete icon from the toolbar
@artf Could you please suggest on this? We are running a live application and it's bit important to make links editable.
Answers (3)
Can someone please help on this issue?
For now, init the editor with this option:
grapesjs.init({
...
canvas: {
...
notTextable: ['button', 'a', 'input[type=checkbox]', 'input[type=radio]'],
}
})
in the next release I'll adjust the default value
It is working now. Thank you @artf
Related Questions and Answers
Continue research with similar issue discussions.
Issue #532
Error when trying to hide some elements from the Layers Manager
Steps:Go to http://grapesjs.com/demo.htmlOpen Layer Manager.Click on the "Build your templates without coding" text element.Click on the "e...
Issue #1333
Bug in WebPage Demo
To reproduce: 1) Open https://grapesjs.com/demo.html in incognito mode. 2) Import this code: 3) Clear Canvas 4) Press Import. Result: The c...
Issue #1812
[Bug]: 404 when trying to add background image (reproducible in demo)
Visit https://grapesjs.com/demo.html in Chrome IncognitoClick the "Header" elementClick Decorations > BackgroundDelete Layer 2Click Layer 1...
Issue #1865
[Bug]: Grapes change page position
Hello, I found the following problem using grapes inside an html page: when you click on some elements of the editor, such as the arrow to...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.