Skip to content

Commit 4db7853

Browse files
authored
fix: add missing ;. close #3
1 parent 9fbb2b3 commit 4db7853

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Editor.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ public function render()
3737
unset($options['height']);
3838
$options = json_encode($options);
3939
$this->script = <<<EOT
40-
var options = {$options}
40+
var options = {$options};
4141
var quill = new Quill("#{$this->id}", options);
4242
4343
$('button[type="submit"]').click(function() {
4444
var content = document.querySelector('#{$this->id}').children[0].innerHTML
4545
$('input[name={$this->id}]').val(content)
46-
})
46+
});
4747
EOT;
4848
return parent::render();
4949
}
50-
}
50+
}

0 commit comments

Comments
 (0)