Skip to content

Commit ebbcc7f

Browse files
authored
Update integration.md
Correct the CKEditor integration: JQuery selector was wrong, so added a class like in the other examples and made the id look more unique, for clarity.
1 parent e82f8f6 commit ebbcc7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Check `vendor/unisharp/laravel-filemanager/src/views/demo.blade.php`, which alre
55
### Option 1: CKEditor
66

77
```html
8-
<textarea id="my-editor" name="content" class="form-control">{!! old('content', 'test editor content') !!}</textarea>
8+
<textarea id="my-editor-1" name="content" class="form-control my-editor">{!! old('content', 'test editor content') !!}</textarea>
99
<script src="//cdn.ckeditor.com/4.6.2/standard/ckeditor.js"></script>
1010
<script>
1111
var options = {
@@ -21,7 +21,7 @@ Check `vendor/unisharp/laravel-filemanager/src/views/demo.blade.php`, which alre
2121

2222
```html
2323
<script>
24-
CKEDITOR.replace('my-editor', options);
24+
CKEDITOR.replace('my-editor-1', options);
2525
</script>
2626
```
2727

0 commit comments

Comments
 (0)