3 Коммитов

Автор SHA1 Сообщение Дата
Mattia Roccoberton
2d5429718c Bump to version 0.3.4 2021-03-16 08:32:57 +01:00
Mattia Roccoberton
78126d0cd7 Fix editor loading with Turbolinks 2021-03-14 16:05:21 +01:00
Mattia Roccoberton
3190134973 Small update to the README 2021-03-14 15:42:14 +01:00
4 изменённых файлов: 6 добавлений и 17 удалений

Просмотреть файл

@@ -89,14 +89,7 @@ the editor will not destroy them, you'll need to implement a purge logic for tha
## Do you like it? Star it!
If you use this component just star it. A developer is more motivated to improve a project when there is some interest. My other [Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source).
<div style="background: #d1ecf1; margin: 0 auto; padding: 10px; text-align: center; width: 60%">
<p style="color: #0c5460">Or consider offering me a coffee please,<br/>it's a small thing but it is greatly appreciated.</p>
<form action="https://www.paypal.com/donate" method="post" target="_top">
<input type="hidden" name="hosted_button_id" value="CT86ENQEBBB5N" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="https://www.paypal.com/en_IT/i/scr/pixel.gif" width="1" height="1" />
</form>
</div>
Or consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).
## Contributors
- [Mattia Roccoberton](http://blocknot.es): author

Просмотреть файл

@@ -85,11 +85,7 @@
}
// --- events ------------------------------------------------------------------
$(document).ready(() => {
initQuillEditors()
})
$(document).on('has_many_add:after', '.has_many_container', () => {
initQuillEditors()
})
$(document).ready(initQuillEditors)
$(document).on('has_many_add:after', '.has_many_container', initQuillEditors)
$(document).on('turbolinks:load', initQuillEditors)
})()

Просмотреть файл

@@ -2,6 +2,6 @@
module ActiveAdmin
module QuillEditor
VERSION = '0.3.2'
VERSION = '0.3.4'
end
end

Просмотреть файл

@@ -1,6 +1,6 @@
{
"name": "activeadmin_quill_editor",
"version": "0.3.2",
"version": "0.3.4",
"description": "Quill Editor for ActiveAdmin",
"author": "Mattia Roccoberton <mat@blocknot.es>",
"license": "MIT",