Skip to content

Commit 5e9a3b6

Browse files
committed
build: Update Quill to version 2.0.3
1 parent 181aab7 commit 5e9a3b6

8 files changed

Lines changed: 40 additions & 22447 deletions

File tree

app/assets/javascripts/activeadmin/quill_editor/quill.core.js

Lines changed: 3 additions & 8594 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/javascripts/activeadmin/quill_editor/quill.js

Lines changed: 3 additions & 11562 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/javascripts/activeadmin/quill_editor/quill.min.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

app/assets/stylesheets/activeadmin/quill_editor/quill.bubble.css

Lines changed: 6 additions & 948 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/stylesheets/activeadmin/quill_editor/quill.core.css

Lines changed: 6 additions & 393 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/stylesheets/activeadmin/quill_editor/quill.snow.css

Lines changed: 6 additions & 941 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extra/development.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,18 @@ bundle update
2929
bin/rails s
3030
# To try different versions of Rails/ActiveAdmin edit extra/dev_setup.sh
3131
```
32+
33+
### Update the editor
34+
35+
- Update the CSS/JS editor assets:
36+
37+
```sh
38+
wget "https://cdn.jsdelivr.net/npm/quill@2/dist/quill.snow.css" -O "app/assets/stylesheets/activeadmin/quill_editor/quill.snow.css"
39+
wget "https://cdn.jsdelivr.net/npm/quill@2/dist/quill.bubble.css" -O "app/assets/stylesheets/activeadmin/quill_editor/quill.bubble.css"
40+
wget "https://cdn.jsdelivr.net/npm/quill@2/dist/quill.core.css" -O "app/assets/stylesheets/activeadmin/quill_editor/quill.core.css"
41+
42+
wget "https://cdn.jsdelivr.net/npm/quill@2/dist/quill.js" -O "app/assets/javascripts/activeadmin/quill_editor/quill.js"
43+
wget "https://cdn.jsdelivr.net/npm/quill@2/dist/quill.core.js" -O "app/assets/javascripts/activeadmin/quill_editor/quill.core.js"
44+
```
45+
46+
- Check the changes, most of them should be for updated files plus some new / removed file

lib/activeadmin/quill_editor/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
module ActiveAdmin
44
module QuillEditor
55
VERSION = '1.3.0'
6-
QUILL_VERSION = '1.3.7'
6+
QUILL_VERSION = '2.0.3'
77
end
88
end

0 commit comments

Comments
 (0)