question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

<Editor enabled={false} doesn't disable dragging

See original GitHub issue

Describe the bug If I try to disable Editor by setting it’s enabled prop to false, the Editor is still editable. (<Editor enabled={false}> ... </Editor>) Disabling via actions.setOptions((options) => (options.enabled = false)); works without issues.

Expected behavior <Editor enabled={false} /> should make elements within editor non-draggable (as it was in 0.1.0-beta.20)

Issue is present in 0.2.0-beta.2. Issue is not present in 0.1.0-beta.20.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
prevwongcommented, Apr 21, 2022

Released in v0.2.0-beta.4 🎉

0reactions
prevwongcommented, Jun 1, 2022

Sorry folks, there seems to have been issue with @craftjs/utils when it was published to NPM as the version on NPM did not include the fix.

Please update to 0.2.0-beta.5 to get the bug fix. Sorry for the inconvenience caused, will look into ways to prevent this from happening in the future releases!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I disable draggable=true on videos? #2979 - GitHub
Setting videoMove to false doesn't help as this doesn't impact the draggable="true" HTML attribute. It only removes the fr-draggable class.
Read more >
Disable click and drag cut and paste in IntelliJ Idea IDE
I found it in Settings → Editor → General. Under the Mouse heading. The option is called "Enable Drag'n'Drop functionality in editor".
Read more >
How can I disable drag-and-drop functions on GUI in the ...
go to the onNodeDrop function and remove the content of it (or just add return; at the beginning of it). Make sure you...
Read more >
Disabling drag and drop functionality within TinyMCE
Hello,. I need to disable the ability to drag and drop media files (or indeed any files) into the tinyMCE editor, I have...
Read more >
103803 – option to disable drag and drop
Disabling drag and drop editing is among the very first settings I make whenever I use a source code editor - whether it's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found