trilium/libraries/ckeditor/ckeditor.js

6 lines
632 KiB
JavaScript
Raw Normal View History

/*!
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
2017-12-02 23:37:12 +08:00
* For licensing, see LICENSE.md.
*/
2019-12-31 02:32:45 +08:00
!function(t){t.en=Object.assign(t.en||{},{a:"Cannot upload file:",b:"Image toolbar",c:"Table toolbar",d:"Paragraph",e:"Edit block",f:"Upload in progress",g:"Bold",h:"Superscript",i:"Subscript",j:"Underline",k:"Strikethrough",l:"Code",m:"Block quote",n:"Italic",o:"Choose heading",p:"Heading",q:"Heading 1",r:"Heading 2",s:"Heading 3",t:"Heading 4",u:"Heading 5",v:"Heading 6",w:"Insert code block",x:"Font Background Color",y:"Font Color",z:"Insert table",aa:"Header column",ab:"Insert column left",ac:"Insert column right",ad:"Delete column",ae:"Column",af:"Header row",ag:"Insert row below",ah:"Insert row above",ai:"Delete row",aj:"Row",ak:"Merge cell up",al:"Merge cell right",am:"Merge cell down",an:"Merge cell left",ao:"Split cell vertically",ap:"Split cell horizontally",aq:"Merge cells",ar:"Editor toolbar",as:"Show more items",at:"To-do List",au:"Widget toolbar",av:"Numbered List",aw:"Bulleted List",ax:"Link",ay:"%0 of %1",az:"Previous",ba:"Next",bb:"Rich Text Editor, %0",bc:"Dropdown toolbar",bd:"Black",be:"Dim grey",bf:"Grey",bg:"Light grey",bh:"White",bi:"Red",bj:"Orange",bk:"Yellow",bl:"Light green",bm:"Green",bn:"Aquamarine",bo:"Turquoise",bp:"Light blue",bq:"Blue",br:"Purple",bs:"Font Size",bt:"Default",bu:"Tiny",bv:"Small",bw:"Big",bx:"Huge",by:"Font Family",bz:"Remove color",ca:"Document colors",cb:"Open in a new tab",cc:"Downloadable",cd:"Unlink",ce:"Edit link",cf:"Open link in new tab",cg:"This link has no URL",ch:"Save",ci:"Cancel",cj:"Link URL",ck:"Plain text",cl:"Undo",cm:"Redo",cn:"Upload failed",co:"Insert image",cp:"Full size image",cq:"Side image",cr:"Left aligned image",cs:"Centered image",ct:"Right aligned image",cu:"Enter image caption",cv:"image widget",cw:"Change image text alternative",cx:"Text alternative"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.BalloonEditor=e():t.BalloonEditor=e()}(window,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=104)}([function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return s}));const i="https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html";class o extends Error{constructor(t,e,n){t=s(t),n&&(t+=" "+JSON.stringify(n)),super(t),this.name="CKEditorError",this.context=e,this.data=n}is(t){return"CKEditorError"===t}static rethrowUnexpectedError(t,e){if(t.is&&t.is("CKEditorError"))throw t;const n=new o(t.message,e);throw n.stack=t.stack,n}}function s(t){const e=t.match(/^([^:]+):/);return e?t+` Read more: ${i}#error-${e[1]}\n`:t}},function(t,e,n){"use strict";var i,o={},s=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},r=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}();function a(t,e){for(var n=[],i={},o=0;o<t.length;o++){var s=t[o],r=e.base?s[0]+e.base:s[0],a={css:s[1],media:s[2],sourceMap:s[3]};i[r]?i[r].parts.push(a):n.push(i[r]={id:r,par
//# sourceMappingURL=libraries/ckeditor/ckeditor.js.map