editor.getValue is not a method
See original GitHub issueDescribe the bug
#807 removed getValue/setValue
while vue-editor still using it
and type definition is not updated.
To Reproduce
- Try to use vue-editor
- Input event never emit
Expected behavior
No code using removed method
Desktop (please complete the following information):
- OS: Windows 7
- Browser Chrome 80
- Version 2.0.0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8
Top Results From Across the Web
CodeMirror - "Uncaught TypeError: editor.getValue() is not a ...
CodeMirror 2 uses the getValue() method instead, var code = editor.getValue(); //a string with your editor content.
Read more >getValue seems not working - CodeMirror
My problem is that I'm failing when I try to get the value of the textarea. Here's what I've written so far: var...
Read more >GetValue Method | ASP.NET Web Forms Controls
Use the GetEditValue method to access the value being edited by an editor. The editor's edited value can be represented by different data...
Read more >Displaying the Property Value - RAD Studio
The property editor's GetValue method returns a string that represents the current value of the property. The Object Inspector uses this string in...
Read more >How to get content from the editor and set content | TinyMCE
So here's a brief guide on the relevant TinyMCE API methods, ... to get the content without any HTML tags; Why isn't the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thank you very much , this help me a lot.
Btw,I have already open an issue before this comment.
@pepeloper Thank you.
I implemented it in the same way
However, if v-model does not work, we need to check the case, when
valueisundefinedornull. It will otherwise changeundefinedandnullvalues to empty string''