Drag and drop of selected text displays null
The issue seems to come from the CKEditor and we discussed it here #1797 so I close this one, reply there in case
Read full answer below βQuestion
Hello, I have a problem with GrapesJS editor because when some text is selected in a component and when you drop it outside component it shows null or sometimes it shows the selected text and you cannot select or edit it.
Could you please help me how to fix this problem so when I select some text the whole text component to be dragged and not just the selected text.
I just checked the demo website and there it's ok.
Here I'm providing a video example of the issue.

Answers (1)
The issue seems to come from the CKEditor and we discussed it here #1797 so I close this one, reply there in case
Related Questions and Answers
Continue research with similar issue discussions.
Issue #955
Find component associated with HTML element in iframe/visual editor.
Hi! I'm working on an implementation of GrapesJS where I can a drag&drop a piece of text from outside GrapesJS into an existing text elemen...
Issue #3721
Test drag and drop with Cypress
Hi @artf. I would like to run some test scenarios on GrapesJs using Cypress tool. However i am unable to simulate drag and drop mode using...
Issue #3200
Help needed: Get the component that a block being dropped onto?
Hello, If I drag and drop a block on a dynamically added component, how can I get/access the component that the block is dropped onto? I se...
Issue #3604
Editor.on('component:update:content', model => { }}) not work in some cause
if the user remove all text from a element and click some where else . then again try to select empty element he is not able to select it a...
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
Vanilla GrapesJS vs GrapesJS With Plugins: What You Actually Get Out of the Box (2026)
New to GrapesJS? See exactly what the stock editor gives you, where it falls short, and which plugins close the gaps β a beginner-friendly 2026 comparison
Tutorial
How We Built Composeit in Record Time Using GrapesJS Shadcn
Bypass foundational builder boilerplate and focus on what truly matters.
Tutorial
How to integrate GrapesJS into an Astro app (complete guide 2026)
Embed GrapesJS in an Astro site: mount it in a client-side script, save content to an Astro API endpoint, and export clean HTML/CSS.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.