mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 18:03:25 +02:00
raw client validation (#172)
This commit is contained in:
parent
39e06fe53a
commit
c06b1c7d06
|
@ -30,7 +30,7 @@ var rawPlugin = function (plugin) {
|
|||
|
||||
plugin.validate = function (data) {
|
||||
|
||||
if (data.html.trim() === '') {
|
||||
if (data.raw.trim() === '') {
|
||||
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue