Skip to content

Commit

Permalink
Merge pull request #6 from Pashedu/hotfix/input_name
Browse files Browse the repository at this point in the history
added double quotes for input name
  • Loading branch information
z-song authored Mar 4, 2019
2 parents 8ffafcf + 79a8dff commit 1193b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function render()
$('#{$this->id}').on("summernote.change", function (e) {
var html = $('#{$this->id}').summernote('code');
$('input[name=$name]').val(html);
$('input[name="{$name}"]').val(html);
});
EOT;
Expand Down

0 comments on commit 1193b17

Please sign in to comment.