升级到最新的 froala-editor
This commit is contained in:
parent
9cf1d06c55
commit
0759fb0654
|
@ -35,7 +35,7 @@
|
|||
"downshift": "3.1.4",
|
||||
"echarts": "~4.1.0",
|
||||
"flv.js": "1.5.0",
|
||||
"froala-editor": "2.8.1",
|
||||
"froala-editor": "2.9.5",
|
||||
"history": "4.7.2",
|
||||
"hls.js": "0.12.2",
|
||||
"hoist-non-react-statics": "3.3.0",
|
||||
|
|
|
@ -12,24 +12,38 @@ import $ from 'jquery';
|
|||
[
|
||||
require('froala-editor/js/froala_editor.min.js'),
|
||||
require('froala-editor/js/plugins/align.min'),
|
||||
require('froala-editor/js/plugins/char_counter.min'),
|
||||
require('froala-editor/js/plugins/code_beautifier.min'),
|
||||
require('froala-editor/js/plugins/code_view.min'),
|
||||
require('froala-editor/js/plugins/colors.min'),
|
||||
require('froala-editor/js/plugins/draggable.min'),
|
||||
require('froala-editor/js/plugins/emoticons.min'),
|
||||
require('froala-editor/js/plugins/entities.min'),
|
||||
// require('froala-editor/js/plugins/file.min'),
|
||||
require('froala-editor/js/plugins/font_family.min'),
|
||||
require('froala-editor/js/plugins/font_size.min'),
|
||||
require('froala-editor/js/plugins/forms.min'),
|
||||
require('froala-editor/js/plugins/fullscreen.min'),
|
||||
require('froala-editor/js/plugins/help.min'),
|
||||
require('froala-editor/js/plugins/image.min'),
|
||||
require('froala-editor/js/plugins/image_manager.min'),
|
||||
require('froala-editor/js/plugins/inline_class.min'),
|
||||
require('froala-editor/js/plugins/inline_style.min'),
|
||||
require('froala-editor/js/plugins/line_breaker.min'),
|
||||
require('froala-editor/js/plugins/line_height.min'),
|
||||
require('froala-editor/js/plugins/link.min'),
|
||||
require('froala-editor/js/plugins/lists.min'),
|
||||
require('froala-editor/js/plugins/paragraph_format.min'),
|
||||
require('froala-editor/js/plugins/paragraph_style.min'),
|
||||
require('froala-editor/js/plugins/print.min'),
|
||||
require('froala-editor/js/plugins/quick_insert.min'),
|
||||
require('froala-editor/js/plugins/quote.min'),
|
||||
require('froala-editor/js/plugins/save.min'),
|
||||
require('froala-editor/js/plugins/special_characters.min'),
|
||||
require('froala-editor/js/plugins/table.min'),
|
||||
require('froala-editor/js/plugins/code_view.min'),
|
||||
// require('froala-editor/js/plugins/emotion'),
|
||||
require('froala-editor/js/plugins/fullscreen.min'),
|
||||
require('froala-editor/js/plugins/url.min'),
|
||||
require('froala-editor/js/plugins/video.min'),
|
||||
require('froala-editor/js/plugins/word_paste.min')
|
||||
].forEach(init => init());
|
||||
|
||||
// Require Editor CSS files.
|
||||
|
|
Loading…
Reference in New Issue