Skip to content

Commit 1193b17

Browse files
authored
Merge pull request #6 from Pashedu/hotfix/input_name
added double quotes for input name
2 parents 8ffafcf + 79a8dff commit 1193b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function render()
3232
3333
$('#{$this->id}').on("summernote.change", function (e) {
3434
var html = $('#{$this->id}').summernote('code');
35-
$('input[name=$name]').val(html);
35+
$('input[name="{$name}"]').val(html);
3636
});
3737
3838
EOT;

0 commit comments

Comments
 (0)