279 lines
9.0 KiB
JavaScript
279 lines
9.0 KiB
JavaScript
|
/*!
|
||
|
*
|
||
|
* Super simple WYSIWYG editor v0.8.20
|
||
|
* https://summernote.org
|
||
|
*
|
||
|
*
|
||
|
* Copyright 2013- Alan Hong and contributors
|
||
|
* Summernote may be freely distributed under the MIT license.
|
||
|
*
|
||
|
* Date: 2021-10-14T21:15Z
|
||
|
*
|
||
|
*/
|
||
|
(function webpackUniversalModuleDefinition(root, factory) {
|
||
|
if(typeof exports === 'object' && typeof module === 'object')
|
||
|
module.exports = factory(require("jQuery"));
|
||
|
else if(typeof define === 'function' && define.amd)
|
||
|
define(["jQuery"], factory);
|
||
|
else {
|
||
|
var a = typeof exports === 'object' ? factory(require("jQuery")) : factory(root["jQuery"]);
|
||
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
||
|
}
|
||
|
})(self, function(__WEBPACK_EXTERNAL_MODULE__1145__) {
|
||
|
return /******/ (() => { // webpackBootstrap
|
||
|
/******/ "use strict";
|
||
|
/******/ var __webpack_modules__ = ({
|
||
|
|
||
|
/***/ 1145:
|
||
|
/***/ ((module) => {
|
||
|
|
||
|
module.exports = __WEBPACK_EXTERNAL_MODULE__1145__;
|
||
|
|
||
|
/***/ })
|
||
|
|
||
|
/******/ });
|
||
|
/************************************************************************/
|
||
|
/******/ // The module cache
|
||
|
/******/ var __webpack_module_cache__ = {};
|
||
|
/******/
|
||
|
/******/ // The require function
|
||
|
/******/ function __webpack_require__(moduleId) {
|
||
|
/******/ // Check if module is in cache
|
||
|
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
||
|
/******/ if (cachedModule !== undefined) {
|
||
|
/******/ return cachedModule.exports;
|
||
|
/******/ }
|
||
|
/******/ // Create a new module (and put it into the cache)
|
||
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
||
|
/******/ // no module.id needed
|
||
|
/******/ // no module.loaded needed
|
||
|
/******/ exports: {}
|
||
|
/******/ };
|
||
|
/******/
|
||
|
/******/ // Execute the module function
|
||
|
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
||
|
/******/
|
||
|
/******/ // Return the exports of the module
|
||
|
/******/ return module.exports;
|
||
|
/******/ }
|
||
|
/******/
|
||
|
/************************************************************************/
|
||
|
/******/ /* webpack/runtime/compat get default export */
|
||
|
/******/ (() => {
|
||
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||
|
/******/ __webpack_require__.n = (module) => {
|
||
|
/******/ var getter = module && module.__esModule ?
|
||
|
/******/ () => (module['default']) :
|
||
|
/******/ () => (module);
|
||
|
/******/ __webpack_require__.d(getter, { a: getter });
|
||
|
/******/ return getter;
|
||
|
/******/ };
|
||
|
/******/ })();
|
||
|
/******/
|
||
|
/******/ /* webpack/runtime/define property getters */
|
||
|
/******/ (() => {
|
||
|
/******/ // define getter functions for harmony exports
|
||
|
/******/ __webpack_require__.d = (exports, definition) => {
|
||
|
/******/ for(var key in definition) {
|
||
|
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
||
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
||
|
/******/ }
|
||
|
/******/ }
|
||
|
/******/ };
|
||
|
/******/ })();
|
||
|
/******/
|
||
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
||
|
/******/ (() => {
|
||
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
||
|
/******/ })();
|
||
|
/******/
|
||
|
/******/ /* webpack/runtime/make namespace object */
|
||
|
/******/ (() => {
|
||
|
/******/ // define __esModule on exports
|
||
|
/******/ __webpack_require__.r = (exports) => {
|
||
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||
|
/******/ }
|
||
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||
|
/******/ };
|
||
|
/******/ })();
|
||
|
/******/
|
||
|
/************************************************************************/
|
||
|
var __webpack_exports__ = {};
|
||
|
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
||
|
(() => {
|
||
|
__webpack_require__.r(__webpack_exports__);
|
||
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1145);
|
||
|
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
||
|
|
||
|
(jquery__WEBPACK_IMPORTED_MODULE_0___default().summernote) = (jquery__WEBPACK_IMPORTED_MODULE_0___default().summernote) || {
|
||
|
lang: {}
|
||
|
};
|
||
|
jquery__WEBPACK_IMPORTED_MODULE_0___default().extend((jquery__WEBPACK_IMPORTED_MODULE_0___default().summernote.lang), {
|
||
|
'en-US': {
|
||
|
font: {
|
||
|
bold: 'Bold',
|
||
|
italic: 'Italic',
|
||
|
underline: 'Underline',
|
||
|
clear: 'Remove Font Style',
|
||
|
height: 'Line Height',
|
||
|
name: 'Font Family',
|
||
|
strikethrough: 'Strikethrough',
|
||
|
subscript: 'Subscript',
|
||
|
superscript: 'Superscript',
|
||
|
size: 'Font Size',
|
||
|
sizeunit: 'Font Size Unit'
|
||
|
},
|
||
|
image: {
|
||
|
image: 'Picture',
|
||
|
insert: 'Insert Image',
|
||
|
resizeFull: 'Resize full',
|
||
|
resizeHalf: 'Resize half',
|
||
|
resizeQuarter: 'Resize quarter',
|
||
|
resizeNone: 'Original size',
|
||
|
floatLeft: 'Float Left',
|
||
|
floatRight: 'Float Right',
|
||
|
floatNone: 'Remove float',
|
||
|
shapeRounded: 'Shape: Rounded',
|
||
|
shapeCircle: 'Shape: Circle',
|
||
|
shapeThumbnail: 'Shape: Thumbnail',
|
||
|
shapeNone: 'Shape: None',
|
||
|
dragImageHere: 'Drag image or text here',
|
||
|
dropImage: 'Drop image or Text',
|
||
|
selectFromFiles: 'Select from files',
|
||
|
maximumFileSize: 'Maximum file size',
|
||
|
maximumFileSizeError: 'Maximum file size exceeded.',
|
||
|
url: 'Image URL',
|
||
|
remove: 'Remove Image',
|
||
|
original: 'Original'
|
||
|
},
|
||
|
video: {
|
||
|
video: 'Video',
|
||
|
videoLink: 'Video Link',
|
||
|
insert: 'Insert Video',
|
||
|
url: 'Video URL',
|
||
|
providers: '(YouTube, Google Drive, Vimeo, Vine, Instagram, DailyMotion, Youku, Peertube)'
|
||
|
},
|
||
|
link: {
|
||
|
link: 'Link',
|
||
|
insert: 'Insert Link',
|
||
|
unlink: 'Unlink',
|
||
|
edit: 'Edit',
|
||
|
textToDisplay: 'Text to display',
|
||
|
url: 'To what URL should this link go?',
|
||
|
openInNewWindow: 'Open in new window',
|
||
|
useProtocol: 'Use default protocol'
|
||
|
},
|
||
|
table: {
|
||
|
table: 'Table',
|
||
|
addRowAbove: 'Add row above',
|
||
|
addRowBelow: 'Add row below',
|
||
|
addColLeft: 'Add column left',
|
||
|
addColRight: 'Add column right',
|
||
|
delRow: 'Delete row',
|
||
|
delCol: 'Delete column',
|
||
|
delTable: 'Delete table'
|
||
|
},
|
||
|
hr: {
|
||
|
insert: 'Insert Horizontal Rule'
|
||
|
},
|
||
|
style: {
|
||
|
style: 'Style',
|
||
|
p: 'Normal',
|
||
|
blockquote: 'Quote',
|
||
|
pre: 'Code',
|
||
|
h1: 'Header 1',
|
||
|
h2: 'Header 2',
|
||
|
h3: 'Header 3',
|
||
|
h4: 'Header 4',
|
||
|
h5: 'Header 5',
|
||
|
h6: 'Header 6'
|
||
|
},
|
||
|
lists: {
|
||
|
unordered: 'Unordered list',
|
||
|
ordered: 'Ordered list'
|
||
|
},
|
||
|
options: {
|
||
|
help: 'Help',
|
||
|
fullscreen: 'Full Screen',
|
||
|
codeview: 'Code View'
|
||
|
},
|
||
|
paragraph: {
|
||
|
paragraph: 'Paragraph',
|
||
|
outdent: 'Outdent',
|
||
|
indent: 'Indent',
|
||
|
left: 'Align left',
|
||
|
center: 'Align center',
|
||
|
right: 'Align right',
|
||
|
justify: 'Justify full'
|
||
|
},
|
||
|
color: {
|
||
|
recent: 'Recent Color',
|
||
|
more: 'More Color',
|
||
|
background: 'Background Color',
|
||
|
foreground: 'Text Color',
|
||
|
transparent: 'Transparent',
|
||
|
setTransparent: 'Set transparent',
|
||
|
reset: 'Reset',
|
||
|
resetToDefault: 'Reset to default',
|
||
|
cpSelect: 'Select'
|
||
|
},
|
||
|
shortcut: {
|
||
|
shortcuts: 'Keyboard shortcuts',
|
||
|
close: 'Close',
|
||
|
textFormatting: 'Text formatting',
|
||
|
action: 'Action',
|
||
|
paragraphFormatting: 'Paragraph formatting',
|
||
|
documentStyle: 'Document Style',
|
||
|
extraKeys: 'Extra keys'
|
||
|
},
|
||
|
help: {
|
||
|
'escape': 'Escape',
|
||
|
'insertParagraph': 'Insert Paragraph',
|
||
|
'undo': 'Undo the last command',
|
||
|
'redo': 'Redo the last command',
|
||
|
'tab': 'Tab',
|
||
|
'untab': 'Untab',
|
||
|
'bold': 'Set a bold style',
|
||
|
'italic': 'Set a italic style',
|
||
|
'underline': 'Set a underline style',
|
||
|
'strikethrough': 'Set a strikethrough style',
|
||
|
'removeFormat': 'Clean a style',
|
||
|
'justifyLeft': 'Set left align',
|
||
|
'justifyCenter': 'Set center align',
|
||
|
'justifyRight': 'Set right align',
|
||
|
'justifyFull': 'Set full align',
|
||
|
'insertUnorderedList': 'Toggle unordered list',
|
||
|
'insertOrderedList': 'Toggle ordered list',
|
||
|
'outdent': 'Outdent on current paragraph',
|
||
|
'indent': 'Indent on current paragraph',
|
||
|
'formatPara': 'Change current block\'s format as a paragraph(P tag)',
|
||
|
'formatH1': 'Change current block\'s format as H1',
|
||
|
'formatH2': 'Change current block\'s format as H2',
|
||
|
'formatH3': 'Change current block\'s format as H3',
|
||
|
'formatH4': 'Change current block\'s format as H4',
|
||
|
'formatH5': 'Change current block\'s format as H5',
|
||
|
'formatH6': 'Change current block\'s format as H6',
|
||
|
'insertHorizontalRule': 'Insert horizontal rule',
|
||
|
'linkDialog.show': 'Show Link Dialog'
|
||
|
},
|
||
|
history: {
|
||
|
undo: 'Undo',
|
||
|
redo: 'Redo'
|
||
|
},
|
||
|
specialChar: {
|
||
|
specialChar: 'SPECIAL CHARACTERS',
|
||
|
select: 'Select Special characters'
|
||
|
},
|
||
|
output: {
|
||
|
noSelection: 'No Selection Made!'
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
})();
|
||
|
|
||
|
/******/ return __webpack_exports__;
|
||
|
/******/ })()
|
||
|
;
|
||
|
});
|
||
|
//# sourceMappingURL=summernote-en-US.js.map
|