Default value "This window" for link's property "Target" is not shown in selectbox
No community answers yet. Open the original discussion on GitHub to share your solution.
Question
Steps:
- Open fiddle https://jsfiddle.net/x2g03d58/ with simple markup
<a id="ic72">Link</a><a target="_blank" id="is3u">Link</a> - Select first link (which doesn't have target attribute) on canvas.
- Open Component Settings panel
- Check the value of "Target" attribute
Expected result:
- Value "This window" is shown
Actual result:
- Empty value is shown
Additional thing is observed on newsletter demo (with storage manager enabled): User can select "This window" value explicitly. This still leaves anchor tag without target attribute in markup, but after page refresh selected value 'This window" remains selected in Component settings.
Environment: macos 10.14.5, chrome 83.0
Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #5743
XSS vulnerability in iframe attribute src
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Edge v122 Reproducible demo link https://j...
Issue #6603
Ampersand is not escaped in attribute value
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v142.0.7392.0 (canary) Reproducible...
Issue #5334
Selection of custom component type not working in the canvas
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome, Opera, Edge, etc Reproducible demo...
Issue #4099
"Using draggableComponents: false" still drag (clone?) some elements if i try to edit text
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Chrome v96Reproducible demo link https://jsf...
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.
Tutorial
Super Tooltip for GrapesJS — Version 0.1.5 Released 🎉
We’re excited to announce the v 0.1.5 update of Super Tooltip, our floating‑menu and tooltip plugin for GrapesJS
Tutorial
GrapesJS in 2026: The Complete Guide to the Open-Source Web Builder Framework
Master GrapesJS in 2026. Architecture, code examples, React integration, plugin development, Studio SDK, and how it compares to other projects
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.