@ckeditor/ckeditor5-html-embed 30.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +17 -0
- package/README.md +20 -0
- package/build/html-embed.js +5 -0
- package/build/translations/cs.js +1 -0
- package/build/translations/de-ch.js +1 -0
- package/build/translations/de.js +1 -0
- package/build/translations/en-au.js +1 -0
- package/build/translations/es.js +1 -0
- package/build/translations/fr.js +1 -0
- package/build/translations/gl.js +1 -0
- package/build/translations/hr.js +1 -0
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -0
- package/build/translations/it.js +1 -0
- package/build/translations/nl.js +1 -0
- package/build/translations/pl.js +1 -0
- package/build/translations/pt-br.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -0
- package/build/translations/sl.js +1 -0
- package/build/translations/sr-latn.js +1 -0
- package/build/translations/sr.js +1 -0
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -0
- package/ckeditor5-metadata.json +30 -0
- package/lang/contexts.json +9 -0
- package/lang/translations/cs.po +45 -0
- package/lang/translations/de-ch.po +45 -0
- package/lang/translations/de.po +45 -0
- package/lang/translations/en-au.po +45 -0
- package/lang/translations/en.po +45 -0
- package/lang/translations/es.po +45 -0
- package/lang/translations/fr.po +45 -0
- package/lang/translations/gl.po +45 -0
- package/lang/translations/hr.po +45 -0
- package/lang/translations/hu.po +45 -0
- package/lang/translations/id.po +45 -0
- package/lang/translations/it.po +45 -0
- package/lang/translations/nl.po +45 -0
- package/lang/translations/pl.po +45 -0
- package/lang/translations/pt-br.po +45 -0
- package/lang/translations/ro.po +45 -0
- package/lang/translations/ru.po +45 -0
- package/lang/translations/sk.po +45 -0
- package/lang/translations/sl.po +45 -0
- package/lang/translations/sr-latn.po +45 -0
- package/lang/translations/sr.po +45 -0
- package/lang/translations/uk.po +45 -0
- package/lang/translations/vi.po +45 -0
- package/lang/translations/zh-cn.po +45 -0
- package/package.json +58 -0
- package/src/htmlembed.js +124 -0
- package/src/htmlembedediting.js +400 -0
- package/src/htmlembedui.js +61 -0
- package/src/index.js +12 -0
- package/src/inserthtmlembedcommand.js +79 -0
- package/src/updatehtmlembedcommand.js +64 -0
- package/theme/htmlembed.css +68 -0
- package/theme/icons/html.svg +1 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Software License Agreement
|
|
2
|
+
==========================
|
|
3
|
+
|
|
4
|
+
**CKEditor 5 HTML embed feature** – https://github.com/ckeditor/ckeditor5-html-embed <br>
|
|
5
|
+
Copyright (c) 2003-2021, [CKSource](http://cksource.com) Frederico Knabben. All rights reserved.
|
|
6
|
+
|
|
7
|
+
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
|
|
8
|
+
|
|
9
|
+
Sources of Intellectual Property Included in CKEditor
|
|
10
|
+
-----------------------------------------------------
|
|
11
|
+
|
|
12
|
+
Where not otherwise indicated, all CKEditor content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, CKEditor will incorporate work done by developers outside of CKSource with their express permission.
|
|
13
|
+
|
|
14
|
+
Trademarks
|
|
15
|
+
----------
|
|
16
|
+
|
|
17
|
+
**CKEditor** is a trademark of [CKSource](http://cksource.com) Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
CKEditor 5 HTML embed feature
|
|
2
|
+
=============================
|
|
3
|
+
|
|
4
|
+
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-html-embed)
|
|
5
|
+
[](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
|
|
6
|
+
[](https://travis-ci.com/ckeditor/ckeditor5)
|
|
7
|
+
|
|
8
|
+
This package implements the HTML embed feature for CKEditor 5. It allows embedding an arbitrary HTML snippet in the rich-text editor.
|
|
9
|
+
|
|
10
|
+
## Demo
|
|
11
|
+
|
|
12
|
+
Check out the demo in the [HTML embed feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html#demo).
|
|
13
|
+
|
|
14
|
+
## Documentation
|
|
15
|
+
|
|
16
|
+
See the [`@ckeditor/ckeditor5-html-embed` package](https://ckeditor.com/docs/ckeditor5/latest/api/html-embed.html) page as well as the [HTML embed feature](https://ckeditor.com/docs/ckeditor5/latest/features/html-embed.html) guide in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/).
|
|
17
|
+
|
|
18
|
+
## License
|
|
19
|
+
|
|
20
|
+
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license).
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
|
3
|
+
* For licensing, see LICENSE.md.
|
|
4
|
+
*/
|
|
5
|
+
!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"Edit source":"Edit source","Empty snippet content":"Empty snippet content","HTML snippet":"HTML snippet","Insert HTML":"Insert HTML","No preview available":"No preview available","Paste raw HTML here...":"Paste raw HTML here...","Save changes":"Save changes"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),window.CKEditor5=window.CKEditor5||{},window.CKEditor5.htmlEmbed=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(e,t,n){e.exports=n(3)("./src/core.js")},function(e,t,n){e.exports=n(3)("./src/utils.js")},function(e,t,n){e.exports=n(3)("./src/widget.js")},function(e,t){e.exports=CKEditor5.dll},function(e,t,n){e.exports=n(3)("./src/ui.js")},function(e,t,n){var r=n(6),a=n(7);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var i={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};r(a,i);e.exports=a.locals||{}},function(e,t,n){"use strict";var r,a=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function c(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],a=0;a<e.length;a++){var i=e[a],l=t.base?i[0]+t.base:i[0],d=n[l]||0,s="".concat(l," ").concat(d);n[l]=d+1;var m=c(s),u={css:i[1],media:i[2],sourceMap:i[3]};-1!==m?(o[m].references++,o[m].updater(u)):o.push({identifier:s,updater:w(u,t),references:1}),r.push(s)}return r}function d(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var a=n.nc;a&&(r.nonce=a)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var s,m=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function u(e,t,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,a);else{var i=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function b(e,t,n){var r=n.css,a=n.media,i=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,h=0;function w(e,t){var n,r,a;if(t.singleton){var i=h++;n=p||(p=d(t)),r=u.bind(null,n,i,!1),a=u.bind(null,n,i,!0)}else n=d(t),r=b.bind(null,n,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var a=c(n[r]);o[a].references--}for(var i=l(e,t),d=0;d<n.length;d++){var s=c(n[d]);0===o[s].references&&(o[s].updater(),o.splice(s,1))}n=i}}}},function(e,t){e.exports=".ck-widget.raw-html-embed{margin:.9em auto;position:relative;display:flow-root;min-width:15em;font-style:normal}.ck-widget.raw-html-embed:before{position:absolute;z-index:1}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper{position:absolute;display:flex;flex-direction:column}.ck-widget.raw-html-embed .raw-html-embed__preview{position:relative;overflow:hidden;display:flex}.ck-widget.raw-html-embed .raw-html-embed__preview-content{width:100%;position:relative;margin:auto;display:table;border-collapse:separate;border-spacing:7px}.ck-widget.raw-html-embed .raw-html-embed__preview-placeholder{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}:root{--ck-html-embed-content-width:calc(100% - var(--ck-icon-size)*1.5);--ck-html-embed-source-height:10em;--ck-html-embed-unfocused-outline-width:1px;--ck-html-embed-content-min-height:calc(var(--ck-icon-size) + var(--ck-spacing-standard));--ck-html-embed-source-disabled-background:var(--ck-color-base-foreground);--ck-html-embed-source-disabled-color:#737373}.ck-widget.raw-html-embed{font-size:var(--ck-font-size-base);background-color:var(--ck-color-base-foreground)}.ck-widget.raw-html-embed:not(.ck-widget_selected):not(:hover){outline:var(--ck-html-embed-unfocused-outline-width) dashed var(--ck-color-widget-blurred-border)}.ck-widget.raw-html-embed[dir=ltr]{text-align:left}.ck-widget.raw-html-embed[dir=rtl]{text-align:right}.ck-widget.raw-html-embed:before{content:attr(data-html-embed-label);top:calc(var(--ck-html-embed-unfocused-outline-width)*-1);left:var(--ck-spacing-standard);background:#999;transition:background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);padding:calc(var(--ck-spacing-tiny) + var(--ck-html-embed-unfocused-outline-width)) var(--ck-spacing-small) var(--ck-spacing-tiny);border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius);color:var(--ck-color-base-background);font-size:var(--ck-font-size-tiny);font-family:var(--ck-font-face)}.ck-widget.raw-html-embed[dir=rtl]:before{left:auto;right:var(--ck-spacing-standard)}.ck-widget.raw-html-embed[dir=ltr] .ck-widget__type-around .ck-widget__type-around__button.ck-widget__type-around__button_before{margin-left:50px}.ck.ck-editor__editable.ck-blurred .ck-widget.raw-html-embed.ck-widget_selected:before{top:0;padding:var(--ck-spacing-tiny) var(--ck-spacing-small)}.ck.ck-editor__editable:not(.ck-blurred) .ck-widget.raw-html-embed.ck-widget_selected:before{top:0;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);background:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck-widget.raw-html-embed:not(.ck-widget_selected):hover:before{top:0;padding:var(--ck-spacing-tiny) var(--ck-spacing-small)}.ck-widget.raw-html-embed .raw-html-embed__content-wrapper{padding:var(--ck-spacing-standard)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper{top:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button.raw-html-embed__save-button{color:var(--ck-color-button-save)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button.raw-html-embed__cancel-button{color:var(--ck-color-button-cancel)}.ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button:not(:first-child){margin-top:var(--ck-spacing-small)}.ck-widget.raw-html-embed[dir=rtl] .raw-html-embed__buttons-wrapper{left:var(--ck-spacing-standard);right:auto}.ck-widget.raw-html-embed .raw-html-embed__source{box-sizing:border-box;height:var(--ck-html-embed-source-height);width:var(--ck-html-embed-content-width);resize:none;min-width:0;padding:var(--ck-spacing-standard);font-family:monospace;tab-size:4;white-space:pre-wrap;font-size:var(--ck-font-size-base);text-align:left;direction:ltr}.ck-widget.raw-html-embed .raw-html-embed__source[disabled]{background:var(--ck-html-embed-source-disabled-background);color:var(--ck-html-embed-source-disabled-color);-webkit-text-fill-color:var(--ck-html-embed-source-disabled-color);opacity:1}.ck-widget.raw-html-embed .raw-html-embed__preview{min-height:var(--ck-html-embed-content-min-height);width:var(--ck-html-embed-content-width)}.ck-editor__editable:not(.ck-read-only) .ck-widget.raw-html-embed .raw-html-embed__preview{pointer-events:none}.ck-widget.raw-html-embed .raw-html-embed__preview-content{box-sizing:border-box;background-color:var(--ck-color-base-foreground)}.ck-widget.raw-html-embed .raw-html-embed__preview-content>*{margin-left:auto;margin-right:auto}.ck-widget.raw-html-embed .raw-html-embed__preview-placeholder{color:var(--ck-html-embed-source-disabled-color)}"},function(e,t,n){"use strict";n.r(t),n.d(t,"HtmlEmbed",(function(){return b})),n.d(t,"HtmlEmbedEditing",(function(){return s})),n.d(t,"HtmlEmbedUI",(function(){return u}));var r=n(0),a=n(2),i=n(4),o=n(1);class c extends r.Command{refresh(){const e=this.editor.model,t=e.schema,n=e.document.selection;this.isEnabled=function(e,t,n){const r=function(e,t){const n=Object(a.findOptimalInsertionRange)(e,t).start.parent;if(n.isEmpty&&!n.is("element","$root"))return n.parent;return n}(e,n);return t.checkChild(r,"rawHtml")}(n,t,e)}execute(){const e=this.editor.model;e.change(t=>{const n=t.createElement("rawHtml");e.insertContent(n),t.setSelection(n,"on")})}}class l extends r.Command{refresh(){const e=d(this.editor.model.document.selection);this.isEnabled=!!e}execute(e){const t=this.editor.model,n=d(t.document.selection);t.change(t=>{t.setAttribute("value",e,n)})}}function d(e){const t=e.getSelectedElement();return t&&t.is("element","rawHtml")?t:null}n(5);class s extends r.Plugin{static get pluginName(){return"HtmlEmbedEditing"}constructor(e){super(e),e.config.define("htmlEmbed",{showPreviews:!1,sanitizeHtml:e=>(Object(o.logWarning)("html-embed-provide-sanitize-function"),{html:e,hasChanged:!1})})}init(){const e=this.editor;e.model.schema.register("rawHtml",{isObject:!0,allowWhere:"$block",allowAttributes:["value"]}),e.commands.add("updateHtmlEmbed",new l(e)),e.commands.add("insertHtmlEmbed",new c(e)),this._setupConversion()}_setupConversion(){const e=this.editor,t=e.t,n=e.editing.view,r=e.config.get("htmlEmbed");function i({domElement:e,editor:n,state:r,props:a}){e.textContent="";const i=e.ownerDocument;let l;if(r.isEditable){const t={isDisabled:!1,placeholder:a.textareaPlaceholder};l=c({domDocument:i,state:r,props:t}),e.append(l)}else if(r.showPreviews){const c={sanitizeHtml:a.sanitizeHtml};e.append(function({domDocument:e,state:n,props:r,editor:a}){const i=r.sanitizeHtml(n.getRawHtmlValue()),c=n.getRawHtmlValue().length>0?t("No preview available"):t("Empty snippet content"),l=Object(o.createElement)(e,"div",{class:"ck ck-reset_all raw-html-embed__preview-placeholder"},c),d=Object(o.createElement)(e,"div",{class:"raw-html-embed__preview-content",dir:a.locale.contentLanguageDirection}),s=e.createRange().createContextualFragment(i.html);d.appendChild(s);return Object(o.createElement)(e,"div",{class:"raw-html-embed__preview"},[l,d])}({domDocument:i,state:r,props:c,editor:n}))}else{const t={isDisabled:!0,placeholder:a.textareaPlaceholder};e.append(c({domDocument:i,state:r,props:t}))}const d={onEditClick:a.onEditClick,onSaveClick:()=>{a.onSaveClick(l.value)},onCancelClick:a.onCancelClick};e.prepend(function({editor:e,domDocument:t,state:n,props:r}){const a=Object(o.createElement)(t,"div",{class:"raw-html-embed__buttons-wrapper"}),i=m(e,"edit"),c=m(e,"save"),l=m(e,"cancel");if(n.isEditable){const e=c.cloneNode(!0),t=l.cloneNode(!0);e.addEventListener("click",e=>{e.preventDefault(),r.onSaveClick()}),t.addEventListener("click",e=>{e.preventDefault(),r.onCancelClick()}),a.appendChild(e),a.appendChild(t)}else{const e=i.cloneNode(!0);e.addEventListener("click",e=>{e.preventDefault(),r.onEditClick()}),a.appendChild(e)}return a}({editor:n,domDocument:i,state:r,props:d}))}function c({domDocument:e,state:t,props:n}){const r=Object(o.createElement)(e,"textarea",{placeholder:n.placeholder,class:"ck ck-reset ck-input ck-input-text raw-html-embed__source"});return r.disabled=n.isDisabled,r.value=t.getRawHtmlValue(),r}e.data.registerRawContentMatcher({name:"div",classes:"raw-html-embed"}),e.conversion.for("upcast").elementToElement({view:{name:"div",classes:"raw-html-embed"},model:(e,{writer:t})=>t.createElement("rawHtml",{value:e.getCustomProperty("$rawContent")})}),e.conversion.for("dataDowncast").elementToElement({model:"rawHtml",view:(e,{writer:t})=>t.createRawElement("div",{class:"raw-html-embed"},(function(t){t.innerHTML=e.getAttribute("value")||""}))}),e.conversion.for("editingDowncast").elementToElement({triggerBy:{attributes:["value"]},model:"rawHtml",view:(o,{writer:c})=>{let l,d,s;const m=c.createContainerElement("div",{class:"raw-html-embed","data-html-embed-label":t("HTML snippet"),dir:e.locale.uiLanguageDirection}),u=c.createRawElement("div",{class:"raw-html-embed__content-wrapper"},(function(t){l=t,i({domElement:t,editor:e,state:d,props:s}),l.addEventListener("mousedown",()=>{if(d.isEditable){const t=e.model;t.document.selection.getSelectedElement()!==o&&t.change(e=>e.setSelection(o,"on"))}},!0)})),b={makeEditable(){d=Object.assign({},d,{isEditable:!0}),i({domElement:l,editor:e,state:d,props:s}),n.change(e=>{e.setAttribute("data-cke-ignore-events","true",u)}),l.querySelector("textarea").focus()},save(t){t!==d.getRawHtmlValue()?(e.execute("updateHtmlEmbed",t),e.editing.view.focus()):this.cancel()},cancel(){d=Object.assign({},d,{isEditable:!1}),i({domElement:l,editor:e,state:d,props:s}),e.editing.view.focus(),n.change(e=>{e.removeAttribute("data-cke-ignore-events",u)})}};return d={showPreviews:r.showPreviews,isEditable:!1,getRawHtmlValue:()=>o.getAttribute("value")||""},s={sanitizeHtml:r.sanitizeHtml,textareaPlaceholder:t("Paste raw HTML here..."),onEditClick(){b.makeEditable()},onSaveClick(e){b.save(e)},onCancelClick(){b.cancel()}},c.insert(c.createPositionAt(m,0),u),c.setCustomProperty("rawHtmlApi",b,m),c.setCustomProperty("rawHtml",!0,m),Object(a.toWidget)(m,c,{widgetLabel:t("HTML snippet"),hasSelectionHandle:!0})}})}}function m(e,t){const n=e.locale.t,a=new i.ButtonView(e.locale),o=e.commands.get("updateHtmlEmbed");return a.set({tooltipPosition:"rtl"===e.locale.uiLanguageDirection?"e":"w",icon:r.icons.pencil,tooltip:!0}),a.render(),"edit"===t?a.set({icon:r.icons.pencil,label:n("Edit source"),class:"raw-html-embed__edit-button"}):"save"===t?(a.set({icon:r.icons.check,label:n("Save changes"),class:"raw-html-embed__save-button"}),a.bind("isEnabled").to(o,"isEnabled")):a.set({icon:r.icons.cancel,label:n("Cancel"),class:"raw-html-embed__cancel-button"}),a.destroy(),a.element.cloneNode(!0)}class u extends r.Plugin{static get pluginName(){return"HtmlEmbedUI"}init(){const e=this.editor,t=e.t;e.ui.componentFactory.add("htmlEmbed",n=>{const r=e.commands.get("insertHtmlEmbed"),a=new i.ButtonView(n);return a.set({label:t("Insert HTML"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 0a2 2 0 0 1 2 2v7a1 1 0 0 1 1 1v5a1 1 0 0 1-.883.993l-.118.006L19 17a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2l-.001-1.001-.116-.006A1 1 0 0 1 0 15v-5a1 1 0 0 1 .999-1L1 2a2 2 0 0 1 2-2h14zm.499 15.999h-15L2.5 17a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5l-.001-1.001zm-3.478-6.013-.014.014H14v.007l-1.525 1.525-1.46-1.46-.015.013V10h-1v5h1v-3.53l1.428 1.43.048.043.131-.129L14 11.421V15h1v-5h-.965l-.014-.014zM2 10H1v5h1v-2h2v2h1v-5H4v2H2v-2zm7 0H6v1h1v4h1v-4h1v-1zm8 0h-1v5h3v-1h-2v-4zm0-8.5H3a.5.5 0 0 0-.5.5l-.001 6.999h15L17.5 2a.5.5 0 0 0-.5-.5zM10 7v1H4V7h6zm3-2v1H4V5h9zm-3-2v1H4V3h6z"/></svg>',tooltip:!0}),a.bind("isEnabled").to(r,"isEnabled"),this.listenTo(a,"execute",()=>{e.execute("insertHtmlEmbed"),e.editing.view.focus();e.editing.view.document.selection.getSelectedElement().getCustomProperty("rawHtmlApi").makeEditable()}),a})}}class b extends r.Plugin{static get requires(){return[s,u,a.Widget]}static get pluginName(){return"HtmlEmbed"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(i){const e=i.cs=i.cs||{};e.dictionary=Object.assign(e.dictionary||{},{"Edit source":"Upravit zdroj","Empty snippet content":"Prázdný obsah kódu","HTML snippet":"Kód HTML","Insert HTML":"Vložit kód HTML","No preview available":"Náhled není k dispozici","Paste raw HTML here...":"Sem vložte kód HTML ...","Save changes":"Uložit změny"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const n=e["de-ch"]=e["de-ch"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Quelle bearbeiten","Empty snippet content":"Codeschnipsel ohne Inhalt","HTML snippet":"HTML-Codeschnipsel","Insert HTML":"HTML einfügen","No preview available":"Keine Vorschau verfügbar","Paste raw HTML here...":"HTML-Code hier einfügen…","Save changes":"Änderungen speichern"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const n=e.de=e.de||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Quelle bearbeiten","Empty snippet content":"Leerer Snippet-Inhalt","HTML snippet":"HTML-Snippet","Insert HTML":"HTML einfügen","No preview available":"Keine Vorschau verfügbar","Paste raw HTML here...":"Rohes HTML hier einfügen…","Save changes":"Änderungen speichern"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const n=e["en-au"]=e["en-au"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Edit source","Empty snippet content":"","HTML snippet":"HTML snippet","Insert HTML":"Insert HTML","No preview available":"","Paste raw HTML here...":"Paste raw HTML here...","Save changes":"Save changes"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const n=e.es=e.es||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Editar fuente","Empty snippet content":"","HTML snippet":"","Insert HTML":"Insertar HTML","No preview available":"No hay ninguna previsualización","Paste raw HTML here...":"Pegue HTML en bruto aquí…","Save changes":"Guardar cambios"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const n=e.fr=e.fr||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Modifier la source","Empty snippet content":"Aucun contenu pour ce fragment de code","HTML snippet":"Code HTML","Insert HTML":"Insérer du code HTML","No preview available":"Aucun aperçu disponible","Paste raw HTML here...":"Collez le code HTML brut ici...","Save changes":"Enregistrer les changements"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const i=e.gl=e.gl||{};i.dictionary=Object.assign(i.dictionary||{},{"Edit source":"Editar fonte","Empty snippet content":"Contido de fragmento de código baleiro","HTML snippet":"Fragmento HTML","Insert HTML":"Inserir HTML","No preview available":"Non hai vista previa dispoñíbel","Paste raw HTML here...":"Pegar HTML en bruto aquí…","Save changes":"Gardar cambios"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(i){const e=i.hr=i.hr||{};e.dictionary=Object.assign(e.dictionary||{},{"Edit source":"Uredi izvorni kod","Empty snippet content":"","HTML snippet":"HTML isječak","Insert HTML":"Ubaci HTML","No preview available":"","Paste raw HTML here...":"Zalijepi ovdje čisti HTML...","Save changes":"Snimi promjene"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const s=e.hu=e.hu||{};s.dictionary=Object.assign(s.dictionary||{},{"Edit source":"Forrás szerkesztése","Empty snippet content":"Üres kódrészleti tartalom","HTML snippet":"HTML kódrészlet","Insert HTML":"HTML beillesztése","No preview available":"Nincs elérhető előnézet","Paste raw HTML here...":"Másolja ide a HTML forrás szövegét...","Save changes":"Módosítások mentése"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(n){const a=n.id=n.id||{};a.dictionary=Object.assign(a.dictionary||{},{"Edit source":"Sunting sumber","Empty snippet content":"Konten potongan kosong","HTML snippet":"Potongan HTML","Insert HTML":"Sisipkan HTML","No preview available":"Pratinjau tidak tersedia","Paste raw HTML here...":"Tempelkan HTML apa adanya di sini...","Save changes":"Simpan perubahan"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(i){const e=i.it=i.it||{};e.dictionary=Object.assign(e.dictionary||{},{"Edit source":"Modifica sorgente","Empty snippet content":"Contenuto frammento di codice vuoto","HTML snippet":"Frammento HTML","Insert HTML":"Inserisci HTML","No preview available":"Nessuna anteprima disponibile","Paste raw HTML here...":"Incolla qui HTML non elaborato...","Save changes":"Salva modifiche"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const n=e.nl=e.nl||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Bron bewerken","Empty snippet content":"","HTML snippet":"","Insert HTML":"HTML invoegen","No preview available":"Geen voorbeeld beschikbaar","Paste raw HTML here...":"","Save changes":"Aanpassingen bewaren"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t){const n=t.pl=t.pl||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Edytuj źródło","Empty snippet content":"","HTML snippet":"","Insert HTML":"Wstaw kod HTML","No preview available":"Podgląd nie jest dostępny","Paste raw HTML here...":"Wstaw tutaj czysty kod HTML...","Save changes":"Zapisz zmiany"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const t=e["pt-br"]=e["pt-br"]||{};t.dictionary=Object.assign(t.dictionary||{},{"Edit source":"Editar código","Empty snippet content":"","HTML snippet":"Snippet HTML","Insert HTML":"Inserir HTML","No preview available":"","Paste raw HTML here...":"","Save changes":"Salvar alterações"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(i){const e=i.ro=i.ro||{};e.dictionary=Object.assign(e.dictionary||{},{"Edit source":"Editează sursa","Empty snippet content":"Golește conținutul fragmentului","HTML snippet":"Fragment HTML","Insert HTML":"Inserează HTML","No preview available":"Previzualizare indisponibilă","Paste raw HTML here...":"Inserați aici HTML brut... ","Save changes":"Salvează schimbările"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const n=e.ru=e.ru||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Изменить код","Empty snippet content":"Нет контента","HTML snippet":"HTML сниппет","Insert HTML":"Вставить HTML","No preview available":"Предпросмотр недоступен","Paste raw HTML here...":"Вставьте HTML код сюда...","Save changes":"Сохранить изменения"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(i){const e=i.sk=i.sk||{};e.dictionary=Object.assign(e.dictionary||{},{"Edit source":"Upraviť zdroj","Empty snippet content":"Prázdny obsah kódu","HTML snippet":"Kód HTML","Insert HTML":"Vložiť kód HTML","No preview available":"Náhľad nie je k dispozícii","Paste raw HTML here...":"Sem vložte kód HTML...","Save changes":"Uložiť zmeny"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const i=e.sl=e.sl||{};i.dictionary=Object.assign(i.dictionary||{},{"Edit source":"Uredi izvorno kodo","Empty snippet content":"","HTML snippet":"HTML izsek","Insert HTML":"Vstavi HTML","No preview available":"","Paste raw HTML here...":"Prilepi HTML kodo ...","Save changes":"Shrani spremembe"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const n=e["sr-latn"]=e["sr-latn"]||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Uredi izvor","Empty snippet content":"Sadržaj praznog isečka","HTML snippet":"HTML deo","Insert HTML":"Umetni HTML","No preview available":"Prikaz nije dostupan","Paste raw HTML here...":"Ovde nalepite HTML ...","Save changes":"Sačuvaj promene"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const n=e.sr=e.sr||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Уреди извор","Empty snippet content":"Садрћај празног исечка","HTML snippet":"ХТМЛ део","Insert HTML":"Уметни ХТМЛ","No preview available":"Приказ није доступан","Paste raw HTML here...":"Овде налепите ХТМЛ","Save changes":"Сачувај измене"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e){const n=e.uk=e.uk||{};n.dictionary=Object.assign(n.dictionary||{},{"Edit source":"Редагувати джерело","Empty snippet content":"Порожній вміст","HTML snippet":"Фрагмент HTML","Insert HTML":"Вставити HTML","No preview available":"Попередній перегляд недоступний","Paste raw HTML here...":"Вставте сюди необроблений HTML...","Save changes":"Зберегти зміни"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(n){const i=n.vi=n.vi||{};i.dictionary=Object.assign(i.dictionary||{},{"Edit source":"Sửa nguồn","Empty snippet content":"","HTML snippet":"Mẫu HTML","Insert HTML":"Chèn HTML","No preview available":"","Paste raw HTML here...":"Dán mã HTML nguyên bản tại đây...","Save changes":"Lưu thay đổi"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(n){const e=n["zh-cn"]=n["zh-cn"]||{};e.dictionary=Object.assign(e.dictionary||{},{"Edit source":"编辑源代码","Empty snippet content":"空片段内容","HTML snippet":"HTML 代码片段","Insert HTML":"插入 HTML","No preview available":"预览不可用","Paste raw HTML here...":"在这里粘贴 HTML 源代码","Save changes":"保存更改"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"plugins": [
|
|
3
|
+
{
|
|
4
|
+
"name": "HTML embed",
|
|
5
|
+
"className": "HtmlEmbed",
|
|
6
|
+
"description": "Allows for embedding an arbitrary HTML snippet in the editor.",
|
|
7
|
+
"docs": "features/html-embed.html",
|
|
8
|
+
"path": "src/htmlembed.js",
|
|
9
|
+
"uiComponents": [
|
|
10
|
+
{
|
|
11
|
+
"type": "Button",
|
|
12
|
+
"name": "htmlEmbed",
|
|
13
|
+
"iconPath": "theme/icons/html.svg"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"htmlOutput": [
|
|
17
|
+
{
|
|
18
|
+
"elements": "div",
|
|
19
|
+
"classes": "raw-html-embed"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"elements": "*",
|
|
23
|
+
"classes": "*",
|
|
24
|
+
"styles": "*",
|
|
25
|
+
"_comment": "The plugin can output any arbitrary HTML provided by the user. That HTML is always wrapped with a `<div class=\"raw-html-embed\">` element."
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Insert HTML": "Toolbar button tooltip for the HTML embed feature.",
|
|
3
|
+
"HTML snippet": "The HTML snippet.",
|
|
4
|
+
"Paste raw HTML here...": "A placeholder that will be displayed in the raw HTML textarea field.",
|
|
5
|
+
"Edit source": "A label of a button that switches the HTML embed to the source editing mode.",
|
|
6
|
+
"Save changes": "A label of a button that saves the HTML embed content and navigates back to the preview.",
|
|
7
|
+
"No preview available": "An information displayed in the HTML embed preview if the content is not previewable.",
|
|
8
|
+
"Empty snippet content": "An information displayed in the HTML embed preview if the HTML snippet has no content."
|
|
9
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Czech (https://www.transifex.com/ckeditor/teams/11143/cs/)\n"
|
|
16
|
+
"Language: cs\n"
|
|
17
|
+
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for the HTML embed feature."
|
|
20
|
+
msgid "Insert HTML"
|
|
21
|
+
msgstr "Vložit kód HTML"
|
|
22
|
+
|
|
23
|
+
msgctxt "The HTML snippet."
|
|
24
|
+
msgid "HTML snippet"
|
|
25
|
+
msgstr "Kód HTML"
|
|
26
|
+
|
|
27
|
+
msgctxt "A placeholder that will be displayed in the raw HTML textarea field."
|
|
28
|
+
msgid "Paste raw HTML here..."
|
|
29
|
+
msgstr "Sem vložte kód HTML ..."
|
|
30
|
+
|
|
31
|
+
msgctxt "A label of a button that switches the HTML embed to the source editing mode."
|
|
32
|
+
msgid "Edit source"
|
|
33
|
+
msgstr "Upravit zdroj"
|
|
34
|
+
|
|
35
|
+
msgctxt "A label of a button that saves the HTML embed content and navigates back to the preview."
|
|
36
|
+
msgid "Save changes"
|
|
37
|
+
msgstr "Uložit změny"
|
|
38
|
+
|
|
39
|
+
msgctxt "An information displayed in the HTML embed preview if the content is not previewable."
|
|
40
|
+
msgid "No preview available"
|
|
41
|
+
msgstr "Náhled není k dispozici"
|
|
42
|
+
|
|
43
|
+
msgctxt "An information displayed in the HTML embed preview if the HTML snippet has no content."
|
|
44
|
+
msgid "Empty snippet content"
|
|
45
|
+
msgstr "Prázdný obsah kódu"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: German (Switzerland) (https://www.transifex.com/ckeditor/teams/11143/de_CH/)\n"
|
|
16
|
+
"Language: de_CH\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for the HTML embed feature."
|
|
20
|
+
msgid "Insert HTML"
|
|
21
|
+
msgstr "HTML einfügen"
|
|
22
|
+
|
|
23
|
+
msgctxt "The HTML snippet."
|
|
24
|
+
msgid "HTML snippet"
|
|
25
|
+
msgstr "HTML-Codeschnipsel"
|
|
26
|
+
|
|
27
|
+
msgctxt "A placeholder that will be displayed in the raw HTML textarea field."
|
|
28
|
+
msgid "Paste raw HTML here..."
|
|
29
|
+
msgstr "HTML-Code hier einfügen…"
|
|
30
|
+
|
|
31
|
+
msgctxt "A label of a button that switches the HTML embed to the source editing mode."
|
|
32
|
+
msgid "Edit source"
|
|
33
|
+
msgstr "Quelle bearbeiten"
|
|
34
|
+
|
|
35
|
+
msgctxt "A label of a button that saves the HTML embed content and navigates back to the preview."
|
|
36
|
+
msgid "Save changes"
|
|
37
|
+
msgstr "Änderungen speichern"
|
|
38
|
+
|
|
39
|
+
msgctxt "An information displayed in the HTML embed preview if the content is not previewable."
|
|
40
|
+
msgid "No preview available"
|
|
41
|
+
msgstr "Keine Vorschau verfügbar"
|
|
42
|
+
|
|
43
|
+
msgctxt "An information displayed in the HTML embed preview if the HTML snippet has no content."
|
|
44
|
+
msgid "Empty snippet content"
|
|
45
|
+
msgstr "Codeschnipsel ohne Inhalt"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: German (https://www.transifex.com/ckeditor/teams/11143/de/)\n"
|
|
16
|
+
"Language: de\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for the HTML embed feature."
|
|
20
|
+
msgid "Insert HTML"
|
|
21
|
+
msgstr "HTML einfügen"
|
|
22
|
+
|
|
23
|
+
msgctxt "The HTML snippet."
|
|
24
|
+
msgid "HTML snippet"
|
|
25
|
+
msgstr "HTML-Snippet"
|
|
26
|
+
|
|
27
|
+
msgctxt "A placeholder that will be displayed in the raw HTML textarea field."
|
|
28
|
+
msgid "Paste raw HTML here..."
|
|
29
|
+
msgstr "Rohes HTML hier einfügen…"
|
|
30
|
+
|
|
31
|
+
msgctxt "A label of a button that switches the HTML embed to the source editing mode."
|
|
32
|
+
msgid "Edit source"
|
|
33
|
+
msgstr "Quelle bearbeiten"
|
|
34
|
+
|
|
35
|
+
msgctxt "A label of a button that saves the HTML embed content and navigates back to the preview."
|
|
36
|
+
msgid "Save changes"
|
|
37
|
+
msgstr "Änderungen speichern"
|
|
38
|
+
|
|
39
|
+
msgctxt "An information displayed in the HTML embed preview if the content is not previewable."
|
|
40
|
+
msgid "No preview available"
|
|
41
|
+
msgstr "Keine Vorschau verfügbar"
|
|
42
|
+
|
|
43
|
+
msgctxt "An information displayed in the HTML embed preview if the HTML snippet has no content."
|
|
44
|
+
msgid "Empty snippet content"
|
|
45
|
+
msgstr "Leerer Snippet-Inhalt"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: English (Australia) (https://www.transifex.com/ckeditor/teams/11143/en_AU/)\n"
|
|
16
|
+
"Language: en_AU\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for the HTML embed feature."
|
|
20
|
+
msgid "Insert HTML"
|
|
21
|
+
msgstr "Insert HTML"
|
|
22
|
+
|
|
23
|
+
msgctxt "The HTML snippet."
|
|
24
|
+
msgid "HTML snippet"
|
|
25
|
+
msgstr "HTML snippet"
|
|
26
|
+
|
|
27
|
+
msgctxt "A placeholder that will be displayed in the raw HTML textarea field."
|
|
28
|
+
msgid "Paste raw HTML here..."
|
|
29
|
+
msgstr "Paste raw HTML here..."
|
|
30
|
+
|
|
31
|
+
msgctxt "A label of a button that switches the HTML embed to the source editing mode."
|
|
32
|
+
msgid "Edit source"
|
|
33
|
+
msgstr "Edit source"
|
|
34
|
+
|
|
35
|
+
msgctxt "A label of a button that saves the HTML embed content and navigates back to the preview."
|
|
36
|
+
msgid "Save changes"
|
|
37
|
+
msgstr "Save changes"
|
|
38
|
+
|
|
39
|
+
msgctxt "An information displayed in the HTML embed preview if the content is not previewable."
|
|
40
|
+
msgid "No preview available"
|
|
41
|
+
msgstr ""
|
|
42
|
+
|
|
43
|
+
msgctxt "An information displayed in the HTML embed preview if the HTML snippet has no content."
|
|
44
|
+
msgid "Empty snippet content"
|
|
45
|
+
msgstr ""
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language: \n"
|
|
16
|
+
"Language-Team: \n"
|
|
17
|
+
"Plural-Forms: \n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for the HTML embed feature."
|
|
20
|
+
msgid "Insert HTML"
|
|
21
|
+
msgstr "Insert HTML"
|
|
22
|
+
|
|
23
|
+
msgctxt "The HTML snippet."
|
|
24
|
+
msgid "HTML snippet"
|
|
25
|
+
msgstr "HTML snippet"
|
|
26
|
+
|
|
27
|
+
msgctxt "A placeholder that will be displayed in the raw HTML textarea field."
|
|
28
|
+
msgid "Paste raw HTML here..."
|
|
29
|
+
msgstr "Paste raw HTML here..."
|
|
30
|
+
|
|
31
|
+
msgctxt "A label of a button that switches the HTML embed to the source editing mode."
|
|
32
|
+
msgid "Edit source"
|
|
33
|
+
msgstr "Edit source"
|
|
34
|
+
|
|
35
|
+
msgctxt "A label of a button that saves the HTML embed content and navigates back to the preview."
|
|
36
|
+
msgid "Save changes"
|
|
37
|
+
msgstr "Save changes"
|
|
38
|
+
|
|
39
|
+
msgctxt "An information displayed in the HTML embed preview if the content is not previewable."
|
|
40
|
+
msgid "No preview available"
|
|
41
|
+
msgstr "No preview available"
|
|
42
|
+
|
|
43
|
+
msgctxt "An information displayed in the HTML embed preview if the HTML snippet has no content."
|
|
44
|
+
msgid "Empty snippet content"
|
|
45
|
+
msgstr "Empty snippet content"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Spanish (https://www.transifex.com/ckeditor/teams/11143/es/)\n"
|
|
16
|
+
"Language: es\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for the HTML embed feature."
|
|
20
|
+
msgid "Insert HTML"
|
|
21
|
+
msgstr "Insertar HTML"
|
|
22
|
+
|
|
23
|
+
msgctxt "The HTML snippet."
|
|
24
|
+
msgid "HTML snippet"
|
|
25
|
+
msgstr ""
|
|
26
|
+
|
|
27
|
+
msgctxt "A placeholder that will be displayed in the raw HTML textarea field."
|
|
28
|
+
msgid "Paste raw HTML here..."
|
|
29
|
+
msgstr "Pegue HTML en bruto aquí…"
|
|
30
|
+
|
|
31
|
+
msgctxt "A label of a button that switches the HTML embed to the source editing mode."
|
|
32
|
+
msgid "Edit source"
|
|
33
|
+
msgstr "Editar fuente"
|
|
34
|
+
|
|
35
|
+
msgctxt "A label of a button that saves the HTML embed content and navigates back to the preview."
|
|
36
|
+
msgid "Save changes"
|
|
37
|
+
msgstr "Guardar cambios"
|
|
38
|
+
|
|
39
|
+
msgctxt "An information displayed in the HTML embed preview if the content is not previewable."
|
|
40
|
+
msgid "No preview available"
|
|
41
|
+
msgstr "No hay ninguna previsualización"
|
|
42
|
+
|
|
43
|
+
msgctxt "An information displayed in the HTML embed preview if the HTML snippet has no content."
|
|
44
|
+
msgid "Empty snippet content"
|
|
45
|
+
msgstr ""
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: French (https://www.transifex.com/ckeditor/teams/11143/fr/)\n"
|
|
16
|
+
"Language: fr\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for the HTML embed feature."
|
|
20
|
+
msgid "Insert HTML"
|
|
21
|
+
msgstr "Insérer du code HTML"
|
|
22
|
+
|
|
23
|
+
msgctxt "The HTML snippet."
|
|
24
|
+
msgid "HTML snippet"
|
|
25
|
+
msgstr "Code HTML"
|
|
26
|
+
|
|
27
|
+
msgctxt "A placeholder that will be displayed in the raw HTML textarea field."
|
|
28
|
+
msgid "Paste raw HTML here..."
|
|
29
|
+
msgstr "Collez le code HTML brut ici..."
|
|
30
|
+
|
|
31
|
+
msgctxt "A label of a button that switches the HTML embed to the source editing mode."
|
|
32
|
+
msgid "Edit source"
|
|
33
|
+
msgstr "Modifier la source"
|
|
34
|
+
|
|
35
|
+
msgctxt "A label of a button that saves the HTML embed content and navigates back to the preview."
|
|
36
|
+
msgid "Save changes"
|
|
37
|
+
msgstr "Enregistrer les changements"
|
|
38
|
+
|
|
39
|
+
msgctxt "An information displayed in the HTML embed preview if the content is not previewable."
|
|
40
|
+
msgid "No preview available"
|
|
41
|
+
msgstr "Aucun aperçu disponible"
|
|
42
|
+
|
|
43
|
+
msgctxt "An information displayed in the HTML embed preview if the HTML snippet has no content."
|
|
44
|
+
msgid "Empty snippet content"
|
|
45
|
+
msgstr "Aucun contenu pour ce fragment de code"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
|
2
|
+
#
|
|
3
|
+
# !!! IMPORTANT !!!
|
|
4
|
+
#
|
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
|
7
|
+
#
|
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
|
9
|
+
#
|
|
10
|
+
# To learn more, check out the official contributor's guide:
|
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
|
12
|
+
#
|
|
13
|
+
msgid ""
|
|
14
|
+
msgstr ""
|
|
15
|
+
"Language-Team: Galician (https://www.transifex.com/ckeditor/teams/11143/gl/)\n"
|
|
16
|
+
"Language: gl\n"
|
|
17
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
18
|
+
|
|
19
|
+
msgctxt "Toolbar button tooltip for the HTML embed feature."
|
|
20
|
+
msgid "Insert HTML"
|
|
21
|
+
msgstr "Inserir HTML"
|
|
22
|
+
|
|
23
|
+
msgctxt "The HTML snippet."
|
|
24
|
+
msgid "HTML snippet"
|
|
25
|
+
msgstr "Fragmento HTML"
|
|
26
|
+
|
|
27
|
+
msgctxt "A placeholder that will be displayed in the raw HTML textarea field."
|
|
28
|
+
msgid "Paste raw HTML here..."
|
|
29
|
+
msgstr "Pegar HTML en bruto aquí…"
|
|
30
|
+
|
|
31
|
+
msgctxt "A label of a button that switches the HTML embed to the source editing mode."
|
|
32
|
+
msgid "Edit source"
|
|
33
|
+
msgstr "Editar fonte"
|
|
34
|
+
|
|
35
|
+
msgctxt "A label of a button that saves the HTML embed content and navigates back to the preview."
|
|
36
|
+
msgid "Save changes"
|
|
37
|
+
msgstr "Gardar cambios"
|
|
38
|
+
|
|
39
|
+
msgctxt "An information displayed in the HTML embed preview if the content is not previewable."
|
|
40
|
+
msgid "No preview available"
|
|
41
|
+
msgstr "Non hai vista previa dispoñíbel"
|
|
42
|
+
|
|
43
|
+
msgctxt "An information displayed in the HTML embed preview if the HTML snippet has no content."
|
|
44
|
+
msgid "Empty snippet content"
|
|
45
|
+
msgstr "Contido de fragmento de código baleiro"
|