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.

[Feature Request] Add the ability to destruct the editor

See original GitHub issue

If there is a place where we are conditionally showing the editor, then it is better to have a destruct method.

var simplemde = new SimpleMDE({ element: document.getElementById("MyID") });

And when there is a need to hide/remove the editor:

simplemde.destruct();

It should remove all the elements that were added because of the construct method.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Ionarucommented, Jul 20, 2021
1reaction
Ionarucommented, Jul 7, 2021

Renaming the toTextArea() function is not possible in any 2.x.x version because it would break backwards compatibility. Maybe an alias is acceptable?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature request: Edit sent messages · Issue #2545 - GitHub
I would like to edit or delete my messages after I send them. Spec. pressing ⬆️ (Up Arrow) in the edit pane opens...
Read more >
New Editor: Feature requests - Klaviyo Community
New Editor: Feature requests · 1. A bit slow/sticky to use · 2. Rename saved blocks · 3. Re-order saved blocks · 4....
Read more >
Camtasia Feedback Feature Request Round-Up
i don't see where to add a feature request, but I would like to be able to record system audio when recording to...
Read more >
Editor | API Reference | ArcGIS Maps SDK for JavaScript 4.25
This widget provides an out-of-the-box editing experience to help streamline the editing experience within a web application. It automatically recognizes if ...
Read more >
Add ability to turn off "Revert to Editor" link - SiteOrigin
Having had several clients destroy Page Builder work by clicking the Revert to Editor link and ignoring all warnings, I'd like to add...
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