зеркало из
https://github.com/rs-pro/activeadmin-quill_editor.git
synced 2026-09-03 18:25:51 +03:00
Сравнить коммиты
3 Коммитов
| Автор | SHA1 | Дата | |
|---|---|---|---|
|
|
d3f2191843 | ||
|
|
0dfb48aec2 | ||
|
|
940ba2e9ca |
@@ -20,7 +20,7 @@ window.onload = function() {
|
|||||||
for( var i = 0; i < editors.length; i++ ) {
|
for( var i = 0; i < editors.length; i++ ) {
|
||||||
var content = editors[i].querySelector( '.quill-editor-content' );
|
var content = editors[i].querySelector( '.quill-editor-content' );
|
||||||
if( content ) {
|
if( content ) {
|
||||||
var options = editors[0].getAttribute( 'data-options' ) ? JSON.parse( editors[0].getAttribute( 'data-options' ) ) : default_options;
|
var options = editors[i].getAttribute( 'data-options' ) ? JSON.parse( editors[i].getAttribute( 'data-options' ) ) : default_options;
|
||||||
editors[i]['_quill-editor'] = new Quill( content, options );
|
editors[i]['_quill-editor'] = new Quill( content, options );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
module ActiveAdmin
|
module ActiveAdmin
|
||||||
module QuillEditor
|
module QuillEditor
|
||||||
VERSION = '0.1.1'
|
VERSION = '0.1.2'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user