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.

Can't Set Value of Editor

See original GitHub issue
var element = $("#example");
element.wysihtml5();
var wysihtml5 = editBody.data("wysihtml5");
var editor = wysihtml5.editor;
editor.setValue("TEST"); // Fails silently. Text is not set.

Issue Analytics

  • State:open
  • Created 10 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
anjit6commented, Jul 6, 2015

$("#example").data('wysihtml5').editor always returns undefined, so unable to set value. Is there any other method to get access to editor / set value?

0reactions
FriesFloriancommented, Feb 8, 2016

Reverting to v0.3.3 solved the problem for me as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot set value for Summernote wysiwyg editor
Cannot set value for Summernote wysiwyg editor · Have you tried to wrap the variables with quotes? var markupStr = '{!! · @linktoahref...
Read more >
Can't call setValue on Editor React component #2664 - GitHub
Editor react component instance has the setValue method. It should be possible to call editor.setValue from plugin event handler.
Read more >
Can't change a single value in the editor - Unity Forum
Can you change the values in the Editor in a new empty project? Can you share a screenshot of how it looks like...
Read more >
Can't select value to edit variable in editor window.
... upon selecting a value for an editable blueprint variable in the details window of an instance in the editor, no value is...
Read more >
Value cannot be initialized when json editor is blank
You might try using a separate "clear" button component to manually set the value of your JSON editor. Right now, if the state...
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