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
How to Build an AI-Powered Page Builder with GrapesJS in 2026
What we learned building GJSDocs β from simple AI text generation to structured, context-aware visual editing
Tutorial
How Much Does It Cost to Build a SaaS Page Builder in 2026?
How much does it cost to build a SaaS page builder in 2026? Explore realistic development costs, timelines, features, and how using GrapesJS can reduce
Tutorial
PageKit: the GrapesJS application you'd have to build anyway
A source-available Next.js app around the open-source GrapesJS core β publishing, custom domains, leads, checkout and a plugin loader.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.