misc: Pooper export, summernote lang

This commit is contained in:
2021-08-29 02:05:16 +09:00
parent 9085ed7ab0
commit 8dbaa4c175
9 changed files with 175 additions and 20 deletions
+2 -3
View File
@@ -3,7 +3,6 @@ import $ from 'jquery';
import 'summernote/dist/summernote-bs4.js';
$(function ($) {
console.log($.summernote);
$.extend(true, $.summernote.lang, {
'en-US': {
imageFlip: {
@@ -33,7 +32,7 @@ $(function ($) {
const $note = context.layoutInfo.note;
const $editor = context.layoutInfo.editor;
const $editable = context.layoutInfo.editable;
const $toolbar = context.layoutInfo.toolbar;
//const $toolbar = context.layoutInfo.toolbar;
if (typeof context.options.imageFlip === 'undefined') {
context.options.imageFlip = {};
@@ -47,7 +46,7 @@ $(function ($) {
contents: ui.icon(options.icons.pencil),
container: false,
tooltip: lang.imageFlip.edit,
click: function (e: JQuery.Event) {
click: function (/*e: JQuery.Event*/) {
context.invoke('imageFlip.show');
}
});