Issue #3146💬 AnsweredOpened November 19, 2020by fahadali12 reactions

There are so many clicks required to enable RTE can i edit text with just single click

快速解答by artf1

You can extend the Text Component View and trigger onActive with a click instead of dblclick https://github.com/artf/grapesjs/blob/d3256e621bb43a537213ffcd86b10dc0bd070c0b/src/dom_components/view/ComponentTextView.js#L7-L10

Read full answer below ↓

Question

There are so many clicks required to enable RTE can i edit text with just single click i tried by adding attribute contenteditable but storage manager not recognize text changes that way plz hlep

Answers (4)

antoineando-zenchefJanuary 14, 2025

@vidhii16 @fahad157 I was able to get it to work using this code:

<img width="758" alt="image" src="https://github.com/user-attachments/assets/2f9418e8-66f4-43ef-a5ac-428ede52e8a9" />
fahad157March 16, 2021

@artf I tried by changing it to click but it not working for me please help image

ClaudeCodeMay 17, 2026

Thanks for reporting this, @fahadali1.

Thanks for sharing your report about There are so many clicks required to enable RTE can i edit text with just single click. To help the team investigate and prioritize this:

Please provide:

  1. A minimal reproducible example (CodeSandbox/JSFiddle)
  2. Your GrapesJS version number
  3. Browser and OS information
  4. Any error messages from the browser console
  5. Steps to reproduce the issue

What helps most:

  • Minimal code example (not your full project)
  • Screen recording or screenshot showing the issue
  • Expected vs actual behavior clearly stated
  • GrapesJS configuration you're using

With these details, the maintainers can identify and prioritize a fix much faster. The GrapesJS team is very responsive to well-documented issues.

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.