Issue #4145πŸ’¬ AnsweredOpened Feb 17, 2022by lofcz0 reactions

0.18.3 text editing not triggering for link > text components

Quick answerby artf

Yeah, I see the problem. Double clicking text elements (span, i...) inside a switches focus to the parent a element instead of opening rte for the selected element With the new logic implemented for the text components view, this is intentional. The idea was to prevent having nested RTEs by passing editing to the clos...

Read full answer below ↓

Question

GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome 99 Reproducible demo link https://codesandbox.io/s/distracted-archimedes-fhmnpg Describe the bug How to reproduce the bug?open the demodouble click "I am text" component. What is the current behavior? Double clicking text elements (span, i...) inside a switches focus to the parent a element instead of opening rte for the selected element. This works correctly in 0.18.2. From the template here https://codesandbox.io/s/1r0w2pk1vl minimal reproduction is to patch index.html from to Code of Con...

Answers (2)

artfβ€’ Feb 21, 2022

Yeah, I see the problem. Double clicking text elements (span, i...) inside a switches focus to the parent a element instead of opening rte for the selected element With the new logic implemented for the text components view, this is intentional. The idea was to prevent having nested RTEs by passing...

GJSBlockβ€’ May 17, 2026

Thanks for reporting this, @lofcz. Great question about 0.18.3 text editing not triggering for link > text components. The recommended approach with ProseMirror is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listener met...

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.