Issue #2896○ OpenOpened July 15, 2020by fedulovivan0 reactions

Default value "This window" for link's property "Target" is not shown in selectbox

Open question

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

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.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.