Issue #1290πŸ’¬ AnsweredOpened July 17, 2018by AnkitKachhadiya2 reactions

Set href for link block not editable once initialized

Quick answerby artf❀ 1

Seems like it doesn't update on the first reset but it actually reacts on changes, indeed you're able to clean it after the first change. I'll check it

Read full answer below ↓

Question

#1277 is closed but issue still exist so i have to post as new issue Thank you for the help for earlier @maryia-kabash @artf I have made a custom block for my custom link see code:editor.BlockManager.add("unsubscribe-block", { label: "Unsubscribe", content: { type: "link", content: "unsubscribelink", attributes: {href: "{unsubscribelink}"} }, attributes: { title: "Insert Unsubscribe block", class: "fa fa-ban" } }); Every thing works perfectly but the issue is whenever i remove href content using style manager it doesn't remove from my code editor. (refer image). Check Fiddle FIDDLE Do i need...

Answers (3)

artfβ€’ July 19, 2018

Seems like it doesn't update on the first reset but it actually reacts on changes, indeed you're able to clean it after the first change. I'll check it

artfβ€’ July 19, 2018

@AnkitKachhadiya the fix will be available in the next release

AnkitKachhadiyaβ€’ July 19, 2018

Thank you @artf for your atttention please let me know when its solved

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.