Skip to content

Commit

Permalink
Update FormHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
funadmin authored Jun 25, 2022
1 parent 195498b commit 353f1eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helper/FormHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -671,11 +671,11 @@ public static function editor($name = 'container', $type = 1, $options = [], $va
}
//百度。quill wangeditor ckeditor
$str .= '<div ' . self::addextend($options) . ' data-value="' . htmlentities($value) . '" id="' . $id . '" name="' . $name . '"
data-editor="' . $type . '" lay-filter="editor" data-path="' . $path . '" data-height="' . $height . '" type="text/plain" >
data-editor="' . $type . '" lay-filter="editor" lay-editor data-path="' . $path . '" data-height="' . $height . '" type="text/plain" >
' . $textarea . ' </div>';
} else {
//LAYEDIT Ckeditor
$str .= '<textarea ' . self::addextend($options) . ' id="' . $id . '" name="' . $name . '" data-path="' . $path . '" data-editor="' . $type . '" lay-verify="layedit" lay-filter="editor" type="text/plain">' . $value . '</textarea>';
$str .= '<textarea ' . self::addextend($options) . ' id="' . $id . '" name="' . $name . '" data-path="' . $path . '" data-editor="' . $type . '" lay-verify="layedit" lay-filter="editor" lay-editor type="text/plain">' . $value . '</textarea>';
}
$str .= '</div></div>';
return $str;
Expand Down

0 comments on commit 353f1eb

Please sign in to comment.