mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Merge branch 'support/3.2' into develop
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
use Combodo\iTop\Application\Helper\CKEditorHelper;
|
||||
use Combodo\iTop\Application\Helper\FormHelper;
|
||||
use Combodo\iTop\Application\Helper\Session;
|
||||
use Combodo\iTop\Application\Helper\WebResourcesHelper;
|
||||
@@ -2323,14 +2324,14 @@ JS
|
||||
// To change the default settings of the editor,
|
||||
// a) edit the file /js/ckeditor/config.js
|
||||
// b) or override some of the configuration settings, using the second parameter of ckeditor()
|
||||
$aConfig = utils::GetCkeditorPref();
|
||||
$aConfig = CKEditorHelper::GetCkeditorPref();
|
||||
$aConfig['placeholder'] = Dict::S('UI:CaseLogTypeYourTextHere');
|
||||
|
||||
// - Final config
|
||||
$sConfigJS = json_encode($aConfig);
|
||||
|
||||
WebResourcesHelper::EnableCKEditorToWebPage($oPage);
|
||||
$oPage->add_ready_script("$('#$iId').ckeditor(function() { /* callback code */ }, $sConfigJS);"); // Transform $iId into a CKEdit
|
||||
$oPage->add_ready_script("CombodoCKEditorHandler.CreateInstance('#$iId')");
|
||||
|
||||
$oPage->add_ready_script(
|
||||
<<<EOF
|
||||
|
||||
@@ -971,7 +971,7 @@ class LoginWebPage extends NiceWebPage
|
||||
}
|
||||
else if($ret === false)
|
||||
{
|
||||
throw new Exception('Nowhere to go??');
|
||||
throw new Exception('Nowhere to go: Your combination of user Profiles denies you access to any '.ITOP_APPLICATION_SHORT.' portal. Please contact your administrator');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -15,8 +15,11 @@
|
||||
//
|
||||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with iTop. If not, see <http://www.gnu.org/licenses/>
|
||||
use Combodo\iTop\Application\Helper\CKEditorHelper;
|
||||
use Combodo\iTop\Application\Helper\WebResourcesHelper;
|
||||
use Combodo\iTop\Application\TwigBase\Twig\TwigHelper;
|
||||
use Combodo\iTop\Application\WebPage\WebPage;
|
||||
use Combodo\iTop\Renderer\BlockRenderer;
|
||||
|
||||
/**
|
||||
* Class UIHTMLEditorWidget
|
||||
@@ -73,7 +76,7 @@ class UIHTMLEditorWidget
|
||||
// a) edit the file /js/ckeditor/config.js
|
||||
// b) or override some of the configuration settings, using the second parameter of ckeditor()
|
||||
$sJSDefineWidth = '';
|
||||
$aConfig = utils::GetCkeditorPref();
|
||||
$aConfig = CKEditorHelper::GetCkeditorPref();
|
||||
$sWidthSpec = addslashes(trim($this->m_oAttDef->GetWidth()));
|
||||
if ($sWidthSpec != '') {
|
||||
/*N°6543 - the function min allow to keep text inside the column when width is defined*/
|
||||
@@ -84,10 +87,20 @@ class UIHTMLEditorWidget
|
||||
if ($sHeightSpec != '') {
|
||||
$aConfig['height'] = $sHeightSpec;
|
||||
}
|
||||
// TODO 3.2.0 Add the configuration for the editor
|
||||
$sConfigJS = json_encode($aConfig);
|
||||
|
||||
WebResourcesHelper::EnableCKEditorToWebPage($oPage);
|
||||
$oPage->add_ready_script("$('#$iId').ckeditor(function() { /* callback code */ }, $sConfigJS);"); // Transform $iId into a CKEdit
|
||||
$oPage->add_ready_script("CombodoCKEditorHandler.CreateInstance('#$iId', $sConfigJS)");
|
||||
|
||||
// inject mention item renderer template
|
||||
$oTwig = TwigHelper::GetTwigEnvironment(BlockRenderer::TWIG_BASE_PATH);
|
||||
$sTemplate = $oTwig->render('application/object/set/option_renderer.html.twig');
|
||||
$oPage->add(<<<HTML
|
||||
<template id="{$iId}_items_template">
|
||||
$sTemplate
|
||||
</template>
|
||||
HTML);
|
||||
|
||||
// Please read...
|
||||
// ValidateCKEditField triggers a timer... calling itself indefinitely
|
||||
|
||||
@@ -23,7 +23,6 @@ use Combodo\iTop\Application\UI\Base\Layout\UIContentBlock;
|
||||
use Combodo\iTop\Application\UI\Hook\iKeyboardShortcut;
|
||||
use Combodo\iTop\Application\WebPage\WebPage;
|
||||
use Combodo\iTop\Service\Module\ModuleService;
|
||||
use Combodo\iTop\Test\UnitTest\Application\utilsTest;
|
||||
use ScssPhp\ScssPhp\Compiler;
|
||||
use ScssPhp\ScssPhp\OutputStyle;
|
||||
use ScssPhp\ScssPhp\ValueConverter;
|
||||
@@ -2781,76 +2780,6 @@ SQL;
|
||||
return static::$iNextId++;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the CKEditor config as an array
|
||||
*
|
||||
* @return array
|
||||
* @throws \CoreException
|
||||
* @throws \CoreUnexpectedValue
|
||||
* @throws \MySQLException
|
||||
* @since 3.0.0
|
||||
*/
|
||||
public static function GetCkeditorPref()
|
||||
{
|
||||
$sLanguage = strtolower(trim(UserRights::GetUserLanguage()));
|
||||
|
||||
$aDefaultConf = array(
|
||||
'language'=> $sLanguage,
|
||||
'contentsLanguage' => $sLanguage,
|
||||
'extraPlugins' => 'disabler,codesnippet,mentions,objectshortcut,font,uploadimage',
|
||||
'uploadUrl' => utils::GetAbsoluteUrlAppRoot().'pages/ajax.render.php',
|
||||
'contentsCss' => array(utils::GetAbsoluteUrlAppRoot().'js/ckeditor/contents.css', utils::GetAbsoluteUrlAppRoot().'css/ckeditor/contents.css'),
|
||||
);
|
||||
|
||||
// Mentions
|
||||
$aMentionsAllowedClasses = MetaModel::GetConfig()->Get('mentions.allowed_classes');
|
||||
if(!empty($aMentionsAllowedClasses)) {
|
||||
$aDefaultConf['mentions'] = [];
|
||||
|
||||
foreach($aMentionsAllowedClasses as $sMentionMarker => $sMentionScope) {
|
||||
// Retrieve mention class
|
||||
// - First test if the conf is a simple Datamodel class
|
||||
if (MetaModel::IsValidClass($sMentionScope)) {
|
||||
$sMentionClass = $sMentionScope;
|
||||
}
|
||||
// - Otherwise it must be a valid OQL
|
||||
else {
|
||||
$oTmpSearch = DBSearch::FromOQL($sMentionScope);
|
||||
$sMentionClass = $oTmpSearch->GetClass();
|
||||
unset($oTmpSearch);
|
||||
}
|
||||
|
||||
// Note: Endpoints are defaults only and should be overloaded by other GUIs such as the end-users portal
|
||||
$sMentionEndpoint = utils::GetAbsoluteUrlAppRoot().'pages/ajax.render.php?operation=cke_mentions&marker='.urlencode($sMentionMarker).'&needle={encodedQuery}';
|
||||
$sMentionItemUrl = utils::GetAbsoluteUrlAppRoot().'pages/UI.php?operation=details&class='.$sMentionClass.'&id={id}';
|
||||
|
||||
$sMentionItemPictureTemplate = (empty(MetaModel::GetImageAttributeCode($sMentionClass))) ? '' : <<<HTML
|
||||
<span class="ibo-vendors-ckeditor--autocomplete-item-image" style="{picture_style}">{initials}</span>
|
||||
HTML;
|
||||
$sMentionItemTemplate = <<<HTML
|
||||
<li class="ibo-vendors-ckeditor--autocomplete-item" data-id="{id}">{$sMentionItemPictureTemplate}<span class="ibo-vendors-ckeditor--autocomplete-item-title">{friendlyname}</span></li>
|
||||
HTML;
|
||||
$sMentionOutputTemplate = <<<HTML
|
||||
<a href="$sMentionItemUrl" data-role="object-mention" data-object-class="{class}" data-object-id="{id}">{$sMentionMarker}{friendlyname}</a>
|
||||
HTML;
|
||||
|
||||
$aDefaultConf['mentions'][] = [
|
||||
'feed' => $sMentionEndpoint,
|
||||
'marker' => $sMentionMarker,
|
||||
'minChars' => MetaModel::GetConfig()->Get('min_autocomplete_chars'),
|
||||
'itemTemplate' => $sMentionItemTemplate,
|
||||
'outputTemplate' => $sMentionOutputTemplate,
|
||||
'throttle' => 500,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
$aRichTextConfig = json_decode(appUserPreferences::GetPref('richtext_config', '{}'), true);
|
||||
|
||||
|
||||
return array_merge($aDefaultConf, $aRichTextConfig);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sInterface
|
||||
* @param string $sClassNameFilter
|
||||
|
||||
@@ -33,7 +33,8 @@
|
||||
"symfony/var-dumper": "~6.4.0",
|
||||
"symfony/yaml": "~6.4.0",
|
||||
"tecnickcom/tcpdf": "^6.6.0",
|
||||
"thenetworg/oauth2-azure": "^2.0"
|
||||
"thenetworg/oauth2-azure": "^2.0",
|
||||
"masterminds/html5": "^2.8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/debug-bundle": "~6.4.0",
|
||||
|
||||
69
composer.lock
generated
69
composer.lock
generated
@@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "f12a58e43bfb3a44aba20a73a8fd747f",
|
||||
"content-hash": "c8ab1de6659dd4fa2ded6043615b86e6",
|
||||
"packages": [
|
||||
{
|
||||
"name": "apereo/phpcas",
|
||||
@@ -1018,6 +1018,73 @@
|
||||
},
|
||||
"time": "2023-03-17T15:20:52+00:00"
|
||||
},
|
||||
{
|
||||
"name": "masterminds/html5",
|
||||
"version": "2.9.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Masterminds/html5-php.git",
|
||||
"reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Masterminds/html5-php/zipball/f5ac2c0b0a2eefca70b2ce32a5809992227e75a6",
|
||||
"reference": "f5ac2c0b0a2eefca70b2ce32a5809992227e75a6",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-dom": "*",
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8.35 || ^5.7.21 || ^6 || ^7 || ^8 || ^9"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.7-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Masterminds\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Matt Butcher",
|
||||
"email": "technosophos@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Matt Farina",
|
||||
"email": "matt@mattfarina.com"
|
||||
},
|
||||
{
|
||||
"name": "Asmir Mustafic",
|
||||
"email": "goetas@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "An HTML5 parser and serializer.",
|
||||
"homepage": "http://masterminds.github.io/html5-php",
|
||||
"keywords": [
|
||||
"HTML5",
|
||||
"dom",
|
||||
"html",
|
||||
"parser",
|
||||
"querypath",
|
||||
"serializer",
|
||||
"xml"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Masterminds/html5-php/issues",
|
||||
"source": "https://github.com/Masterminds/html5-php/tree/2.9.0"
|
||||
},
|
||||
"time": "2024-03-31T07:05:07+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nikic/php-parser",
|
||||
"version": "v4.18.0",
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
//
|
||||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with iTop. If not, see <http://www.gnu.org/licenses/>
|
||||
use Masterminds\HTML5;
|
||||
|
||||
/**
|
||||
* Base class for all possible implementations of HTML Sanitization
|
||||
*/
|
||||
@@ -287,7 +289,7 @@ class HTMLDOMSanitizer extends DOMSanitizer
|
||||
'u' => array(),
|
||||
'em' => array(),
|
||||
'strong' => array(),
|
||||
'img' => array('src', 'style', 'alt', 'title'),
|
||||
'img' => array('src', 'style', 'alt', 'title', 'width', 'height'),
|
||||
'ul' => array('style'),
|
||||
'ol' => array('reversed', 'start', 'style', 'type'),
|
||||
'li' => array('style', 'value'),
|
||||
@@ -321,6 +323,8 @@ class HTMLDOMSanitizer extends DOMSanitizer
|
||||
'hr' => array('style'),
|
||||
'pre' => array(),
|
||||
'center' => array(),
|
||||
'figure' => array('class'), // Ckeditor 5 puts images in figures
|
||||
'mark' => array('class')
|
||||
);
|
||||
|
||||
protected static $aAttrsWhiteList = array(
|
||||
@@ -332,6 +336,7 @@ class HTMLDOMSanitizer extends DOMSanitizer
|
||||
* @see https://www.itophub.io/wiki/page?id=2_6_0%3Aadmin%3Arich_text_limitations
|
||||
*/
|
||||
protected static $aStylesWhiteList = array(
|
||||
'aspect-ratio',
|
||||
'background-color',
|
||||
'border',
|
||||
'border-collapse',
|
||||
|
||||
@@ -536,6 +536,11 @@ JS
|
||||
|
||||
$sAbsoluteUrlAppRoot = utils::GetAbsoluteUrlAppRoot();
|
||||
$sToggleFullScreen = utils::EscapeHtml(Dict::S('UI:ToggleFullScreen'));
|
||||
return <<<JS
|
||||
$('.htmlEditor').each(function() {
|
||||
CombodoCKEditorHandler.EnableImageUpload('#' + $(this).attr('id'), '$sAbsoluteUrlAppRoot'+'pages/ajax.render.php?operation=cke_img_upload&temp_id=$sTempId&obj_class=$sObjClass&obj_key=$iObjKey');
|
||||
});
|
||||
JS;
|
||||
|
||||
return
|
||||
<<<JS
|
||||
@@ -605,6 +610,13 @@ JS
|
||||
JS
|
||||
;
|
||||
}
|
||||
public static function EnableCKEditor5ImageUpload(DBObject $oObject, $sTempId){
|
||||
return <<<JS
|
||||
// Hook the file upload of all CKEditor instances
|
||||
JS;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
|
||||
@@ -58,7 +58,7 @@ textarea.ibo-input{
|
||||
height:unset;
|
||||
}
|
||||
.ibo-input-wrapper.is-error, .ibo-input-field-wrapper.is-error {
|
||||
.ibo-input, .ibo-input-vanilla, .cke, textarea {
|
||||
.ibo-input, .ibo-input-vanilla, .ck-editor, textarea {
|
||||
border-color: $ibo-input-wrapper--is-error--border-color;
|
||||
}
|
||||
.ibo-input-vanilla input{
|
||||
|
||||
4
css/backoffice/vendors/_ckeditor.scss
vendored
4
css/backoffice/vendors/_ckeditor.scss
vendored
@@ -22,6 +22,10 @@ $ibo-vendors-ckeditor--autocomplete-item-image--border: 1px solid $ibo-color-gre
|
||||
|
||||
$ibo-vendors-ckeditor--autocomplete-item-title--text-color: #3A3A3A !default;
|
||||
|
||||
.ck-editor__editable_inline:not(.ck-comment__input *) {
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
/* Fullscreen button (Combodo custom) */
|
||||
.ibo-vendors-ckeditor--toolbar-fullscreen-button {
|
||||
display: none;
|
||||
|
||||
@@ -3,18 +3,32 @@
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
/* These rules should be the same as those in css/backoffice/vendors/ckeditor.css */
|
||||
body{
|
||||
margin: 5px 10px;
|
||||
.ibo-mention-item{
|
||||
line-height: 1.6rem;
|
||||
}
|
||||
.cke_editable{
|
||||
line-height: 1.4;
|
||||
|
||||
[data-role="object-mention"]{
|
||||
color: #0782C1;
|
||||
}
|
||||
figure{
|
||||
border: solid 1px #ccc;
|
||||
border-radius: 2px;
|
||||
}
|
||||
p{
|
||||
margin-top: 0.25em;
|
||||
margin-bottom: 0.25em;
|
||||
[data-role="object-mention"]:hover{
|
||||
color: #2b6bb0;
|
||||
}
|
||||
|
||||
.ck.ck-editor.cke-maximized{
|
||||
position: fixed;
|
||||
left: 0px;
|
||||
top:0px;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
z-index: 999;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.ck.ck-editor.cke-maximized .ck.ck-editor__main{
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.ck.ck-editor.cke-maximized .ck-editor__editable_inline:not(.ck-comment__input *){
|
||||
height: 100%;
|
||||
}
|
||||
@@ -334,15 +334,15 @@ abstract class AbstractAttachmentsRenderer
|
||||
$(this).addClass('image-in-use').find('img').wrap('<div class="image-in-use-wrapper" style="position:relative;display:inline-block;"></div>');
|
||||
}
|
||||
});
|
||||
$('.htmlEditor').each(function() {
|
||||
var oEditor = $(this).ckeditorGet();
|
||||
var sHtml = oEditor.getData();
|
||||
var jElement = $('<div/>').html(sHtml).contents();
|
||||
jElement.find('img').each(function() {
|
||||
var sSrc = $(this).attr('src');
|
||||
$('.attachment a[href="'+sSrc+'"]').parent().addClass('image-in-use').find('img').wrap('<div class="image-in-use-wrapper" style="position:relative;display:inline-block;"></div>');
|
||||
});
|
||||
});
|
||||
// $('.htmlEditor').each(function() {
|
||||
// var oEditor = $(this).ckeditorGet();
|
||||
// var sHtml = oEditor.getData();
|
||||
// var jElement = $('<div/>').html(sHtml).contents();
|
||||
// jElement.find('img').each(function() {
|
||||
// var sSrc = $(this).attr('src');
|
||||
// $('.attachment a[href="'+sSrc+'"]').parent().addClass('image-in-use').find('img').wrap('<div class="image-in-use-wrapper" style="position:relative;display:inline-block;"></div>');
|
||||
// });
|
||||
// });
|
||||
$('.image-in-use-wrapper').append('<div style="position:absolute;top:0;left:0;"><img src="' + GetAbsoluteUrlModulesRoot() + 'images/transp-lock.png"></div>');
|
||||
}, 200 );
|
||||
JS
|
||||
|
||||
@@ -80,7 +80,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
//
|
||||
|
||||
Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Class:lnkContactToFunctionalCI' => 'Lien Contact / CI Fonctionel',
|
||||
'Class:lnkContactToFunctionalCI' => 'Lien Contact / CI Fonctionnel',
|
||||
'Class:lnkContactToFunctionalCI+' => '',
|
||||
'Class:lnkContactToFunctionalCI/Name' => '%1$s / %2$s',
|
||||
'Class:lnkContactToFunctionalCI/Attribute:functionalci_id' => 'CI',
|
||||
@@ -98,7 +98,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
//
|
||||
|
||||
Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Class:FunctionalCI' => 'CI fonctionnel',
|
||||
'Class:FunctionalCI' => 'CI Fonctionnel',
|
||||
'Class:FunctionalCI+' => '',
|
||||
'Class:FunctionalCI/Attribute:name' => 'Nom',
|
||||
'Class:FunctionalCI/Attribute:name+' => '',
|
||||
@@ -1214,7 +1214,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
//
|
||||
|
||||
Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Class:lnkFunctionalCIToOSPatch' => 'Lien CI Fonctionel / Patch OS',
|
||||
'Class:lnkFunctionalCIToOSPatch' => 'Lien CI Fonctionnel / Patch OS',
|
||||
'Class:lnkFunctionalCIToOSPatch+' => '',
|
||||
'Class:lnkFunctionalCIToOSPatch/Name' => '%1$s / %2$s',
|
||||
'Class:lnkFunctionalCIToOSPatch/Attribute:ospatch_id' => 'Patch OS',
|
||||
@@ -1449,7 +1449,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
//
|
||||
|
||||
Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Class:lnkApplicationSolutionToFunctionalCI' => 'Lien Solution Applicative / CI Fonctionel',
|
||||
'Class:lnkApplicationSolutionToFunctionalCI' => 'Lien Solution Applicative / CI Fonctionnel',
|
||||
'Class:lnkApplicationSolutionToFunctionalCI+' => '',
|
||||
'Class:lnkApplicationSolutionToFunctionalCI/Name' => '%1$s / %2$s',
|
||||
'Class:lnkApplicationSolutionToFunctionalCI/Attribute:applicationsolution_id' => 'Solution applicative',
|
||||
@@ -1559,7 +1559,7 @@ Dict::Add('FR FR', 'French', 'Français', array(
|
||||
//
|
||||
|
||||
Dict::Add('FR FR', 'French', 'Français', array(
|
||||
'Class:lnkDocumentToFunctionalCI' => 'Lien Document / CI Fonctionel',
|
||||
'Class:lnkDocumentToFunctionalCI' => 'Lien Document / CI Fonctionnel',
|
||||
'Class:lnkDocumentToFunctionalCI+' => '',
|
||||
'Class:lnkDocumentToFunctionalCI/Name' => '%1$s / %2$s',
|
||||
'Class:lnkDocumentToFunctionalCI/Attribute:functionalci_id' => 'CI',
|
||||
|
||||
@@ -125,12 +125,13 @@
|
||||
{# Export for Datatables #}
|
||||
<script type="text/javascript" src="{{ app['combodo.portal.base.absolute_url'] ~ 'js/export.js'|add_itop_version }}"></script>
|
||||
{# CKEditor files for HTML WYSIWYG #}
|
||||
<script type="text/javascript" src="{{ app['combodo.absolute_url'] ~ 'js/ckeditor/ckeditor.js'|add_itop_version }}"></script>
|
||||
<script type="text/javascript" src="{{ app['combodo.absolute_url'] ~ 'js/ckeditor/build/ckeditor.js'|add_itop_version }}"></script>
|
||||
<script type="text/javascript" src="{{ app['combodo.absolute_url'] ~ 'js/highlight/highlight.js'|add_itop_version }}"></script>
|
||||
<script type="text/javascript" src="{{ app['combodo.absolute_url'] ~ 'js/ckeditor/adapters/jquery.js'|add_itop_version }}"></script>
|
||||
<script type="text/javascript" src="{{ app['combodo.absolute_url'] ~ 'js/ckeditor.handler.js'|add_itop_version }}"></script>
|
||||
<script type="text/javascript" src="{{ app['combodo.absolute_url'] ~ 'js/ckeditor.feeds.js'|add_itop_version }}"></script>
|
||||
{# - Hilighter for code snippets created with CKEditor #}
|
||||
<script type="text/javascript" src="{{ app['combodo.absolute_url'] ~ 'js/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js'|add_itop_version }}"></script>
|
||||
{# - Custom settings #}
|
||||
<script type="text/javascript" src="{{ app['combodo.absolute_url'] ~ 'js/ckeditor.on-init.js'|add_itop_version }}"></script>
|
||||
{# Date-time picker for Bootstrap #}
|
||||
<script type="text/javascript" src="{{ app['combodo.portal.base.absolute_url'] ~ 'lib/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js'|add_itop_version }}"></script>
|
||||
{# Typeahead files for autocomplete #}
|
||||
|
||||
@@ -6,7 +6,10 @@
|
||||
version="1.1"
|
||||
id="svg1633"
|
||||
sodipodi:docname="icons8-hypervisor.svg"
|
||||
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
|
||||
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
|
||||
inkscape:export-filename="icons8-hypervisor.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
@@ -23,14 +26,16 @@
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="2.8416667"
|
||||
inkscape:cx="124.22287"
|
||||
inkscape:cy="161.52493"
|
||||
inkscape:cx="124.04692"
|
||||
inkscape:cy="133.54839"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1382"
|
||||
inkscape:window-x="1920"
|
||||
inkscape:window-y="314"
|
||||
inkscape:window-height="1379"
|
||||
inkscape:window-x="1200"
|
||||
inkscape:window-y="264"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1633" />
|
||||
inkscape:current-layer="svg1633"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:deskcolor="#d1d1d1" />
|
||||
<linearGradient
|
||||
id="H5zWGZDzzYRltSZyl6Krha"
|
||||
x1="10.517"
|
||||
@@ -171,11 +176,15 @@
|
||||
id="circle1631"
|
||||
style="stroke-width:0.790162" />
|
||||
<path
|
||||
style="fill:#ff8700;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0935741"
|
||||
d="m 37.923349,43.305897 h -9.825278 c -1.033702,0 -1.871482,-0.837781 -1.871482,-1.871482 v -9.825278 c 0,-1.033701 0.83778,-1.871482 1.871482,-1.871482 h 9.825278 c 1.033701,0 1.871482,0.837781 1.871482,1.871482 v 9.825278 c 0,1.033701 -0.837781,1.871482 -1.871482,1.871482 z m -0.935741,-4.210834 v -5.146574 c 0,-0.775276 -0.628335,-1.403611 -1.403611,-1.403611 h -5.146574 c -0.775276,0 -1.403612,0.628335 -1.403612,1.403611 v 5.146574 c 0,0.775277 0.628336,1.403612 1.403612,1.403612 h 5.146574 c 0.775276,0 1.403611,-0.628335 1.403611,-1.403612 z m 0,0"
|
||||
id="path718" />
|
||||
id="path2"
|
||||
style="display:inline;opacity:1;stroke:#ffffff;stroke-width:1.2428;stroke-dasharray:none;stroke-opacity:1"
|
||||
sodipodi:type="inkscape:offset"
|
||||
inkscape:radius="0.46688884"
|
||||
inkscape:original="M 31.25 30.457031 C 29.385785 30.457031 28.135207 31.910164 27.710938 32.726562 L 25.503906 37.40625 L 22.455078 31.091797 C 22.120804 30.497176 21.368751 30.283484 20.777344 30.611328 C 20.179509 30.942386 19.965816 31.695135 20.296875 32.292969 L 24.410156 40.521484 C 24.62872 40.910399 25.037605 41.151083 25.484375 41.154297 C 25.915072 41.157497 26.339461 40.920856 26.564453 40.535156 L 29.875 33.90625 C 29.8814 33.89665 30.42396 32.925781 31.25 32.925781 C 32.249605 32.925781 32.455448 33.742316 32.484375 34.160156 L 32.484375 39.919922 C 32.484375 40.173841 32.561578 40.41205 32.693359 40.611328 C 32.738359 40.675618 32.789104 40.737072 32.84375 40.794922 C 33.014101 40.962058 33.229641 41.080694 33.470703 41.128906 C 33.547843 41.144976 33.635182 41.154297 33.71875 41.154297 C 33.80232 41.154297 33.889657 41.145016 33.966797 41.128906 C 34.288213 41.064616 34.564147 40.871676 34.744141 40.611328 C 34.785931 40.543828 34.823335 40.472362 34.855469 40.398438 C 34.916539 40.253799 34.953125 40.090273 34.953125 39.919922 L 34.953125 34.160156 C 34.953125 33.478754 35.506097 32.925781 36.1875 32.925781 C 36.868903 32.925781 37.421875 33.478754 37.421875 34.160156 L 37.421875 39.919922 C 37.421875 40.601325 37.974847 41.154297 38.65625 41.154297 C 38.73982 41.154297 38.825204 41.145016 38.902344 41.128906 C 39.22376 41.064616 39.501647 40.871676 39.681641 40.611328 C 39.723431 40.543828 39.760835 40.472363 39.792969 40.398438 C 39.854039 40.253799 39.888672 40.090273 39.888672 39.919922 L 39.888672 34.160156 C 39.888672 33.478754 40.441644 32.925781 41.123047 32.925781 C 41.80445 32.925781 42.357422 33.478754 42.357422 34.160156 L 42.357422 39.919922 C 42.357422 40.601325 42.910394 41.154297 43.591797 41.154297 C 44.273199 41.154297 44.826172 40.601325 44.826172 39.919922 L 44.826172 34.160156 C 44.826172 32.119162 43.164041 30.457031 41.123047 30.457031 C 40.171655 30.457031 39.31194 30.830469 38.65625 31.421875 C 38.000561 30.830469 37.138892 30.457031 36.1875 30.457031 C 35.239322 30.457031 34.382944 30.823917 33.730469 31.412109 C 33.145503 30.856058 32.342816 30.457031 31.25 30.457031 z "
|
||||
d="m 31.25,29.990234 c -1.053418,0 -1.935085,0.414281 -2.595703,0.927735 -0.660618,0.513453 -1.110999,1.119571 -1.357422,1.59375 a 0.46693553,0.46693553 0 0 0 -0.0078,0.01563 L 25.498047,36.322266 22.875,30.888672 a 0.46693553,0.46693553 0 0 0 -0.01367,-0.02539 c -0.457445,-0.813723 -1.497106,-1.111083 -2.310547,-0.660156 -0.818977,0.453518 -1.114881,1.498781 -0.662109,2.316406 l 4.103515,8.210938 a 0.46693553,0.46693553 0 0 0 0.01172,0.01953 c 0.3001,0.534 0.864174,0.866688 1.476563,0.871094 0.603978,0.0045 1.174462,-0.316936 1.486328,-0.851563 a 0.46693553,0.46693553 0 0 0 0.01563,-0.02539 l 3.292969,-6.59375 c 0.01185,-0.01978 0.126987,-0.221376 0.3125,-0.410157 0.192539,-0.195931 0.432005,-0.347656 0.662109,-0.347656 0.372675,0 0.493422,0.110505 0.599609,0.261719 0.105027,0.149561 0.156535,0.379487 0.167969,0.533203 v 5.732422 c 0,0.348556 0.107182,0.677133 0.287109,0.949219 a 0.46693553,0.46693553 0 0 0 0.0059,0.0098 c 0.0594,0.08487 0.12445,0.163378 0.193359,0.236328 a 0.46693553,0.46693553 0 0 0 0.01367,0.01367 c 0.232045,0.227666 0.528316,0.39043 0.861328,0.457031 0.109568,0.02257 0.222889,0.03516 0.339844,0.03516 0.116809,0 0.229974,-0.01247 0.339844,-0.03516 0.447187,-0.08945 0.824747,-0.353792 1.070312,-0.708984 a 0.46693553,0.46693553 0 0 0 0.01172,-0.01953 c 0.0538,-0.08689 0.101496,-0.178928 0.142578,-0.273438 a 0.46693553,0.46693553 0 0 0 0.002,-0.0039 c 0.08413,-0.199252 0.134766,-0.422957 0.134766,-0.660156 v -5.759766 c 0,-0.428808 0.338769,-0.767578 0.767578,-0.767578 0.428809,0 0.767578,0.33877 0.767578,0.767578 v 5.759766 c 0,0.933995 0.767177,1.701172 1.701172,1.701172 0.116801,0 0.229529,-0.01278 0.337891,-0.03516 0.44683,-0.08938 0.825801,-0.352492 1.072265,-0.708984 a 0.46693553,0.46693553 0 0 0 0.01172,-0.01953 c 0.05379,-0.08689 0.101495,-0.178924 0.142578,-0.273438 a 0.46693553,0.46693553 0 0 0 0.002,-0.0039 c 0.08552,-0.202538 0.132813,-0.426525 0.132813,-0.660156 v -5.759766 c 0,-0.428808 0.338769,-0.767578 0.767578,-0.767578 0.428809,0 0.767578,0.33877 0.767578,0.767578 v 5.759766 c 0,0.933995 0.767177,1.701172 1.701172,1.701172 0.933994,0 1.701172,-0.767177 1.701172,-1.701172 v -5.759766 c 0,-2.294473 -1.875449,-4.169922 -4.169922,-4.169922 -0.94064,0 -1.773968,0.363019 -2.466797,0.888672 -0.69342,-0.525948 -1.527963,-0.888672 -2.46875,-0.888672 -0.934161,0 -1.763146,0.356408 -2.453125,0.876953 C 33.099281,30.367815 32.295803,29.990234 31.25,29.990234 Z"
|
||||
transform="matrix(1.0166132,0,0,1.033655,-0.21261555,-0.8499926)" />
|
||||
<path
|
||||
style="fill:#23a1e3;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.0935741"
|
||||
d="m 42.134183,25.526821 h -9.825279 c -1.034066,0 -1.871481,0.837415 -1.871481,1.871482 v 2.339352 h 2.807222 c 0,-0.776738 0.626874,-1.403611 1.403611,-1.403611 h 5.146575 c 0.77674,0 1.403611,0.626873 1.403611,1.403611 v 5.146575 c 0,0.776737 -0.626871,1.403611 -1.403611,1.403611 h -5.146575 c -0.776737,0 -1.403611,-0.626874 -1.403611,-1.403611 v -2.339352 h -2.807222 v 4.678704 c 0,1.034066 0.837415,1.871481 1.871481,1.871481 h 9.825279 c 1.034068,0 1.871482,-0.837415 1.871482,-1.871481 v -9.825279 c 0,-1.034067 -0.837414,-1.871482 -1.871482,-1.871482 z m 0,0"
|
||||
id="path724" />
|
||||
d="m 31.602066,30.680151 c -1.895751,0 -3.167212,1.477378 -3.598659,2.307587 l -2.245485,4.758989 -3.098572,-6.422674 c -0.339928,-0.60468 -1.104764,-0.820402 -1.706176,-0.487012 -0.607948,0.336658 -0.82694,1.101497 -0.490281,1.709444 l 4.183727,8.367453 c 0.222261,0.395494 0.637364,0.640634 1.091692,0.643902 0.437983,0.0033 0.86943,-0.238603 1.098228,-0.630827 l 3.366593,-6.739722 c 0.0065,-0.0098 0.558919,-0.996904 1.398933,-0.996904 1.016515,0 1.225701,0.830209 1.255118,1.255117 v 5.857219 c 0,0.258214 0.07845,0.500085 0.212455,0.702735 0.04576,0.06538 0.09805,0.127478 0.153622,0.186307 0.173232,0.169963 0.392224,0.2909 0.637364,0.339927 0.07845,0.01634 0.166696,0.02614 0.251678,0.02614 0.08498,0 0.173233,-0.0098 0.251677,-0.02614 0.326854,-0.06538 0.607947,-0.261482 0.790986,-0.526234 0.0425,-0.06864 0.08172,-0.140547 0.114397,-0.215723 0.0621,-0.147085 0.09805,-0.31378 0.09805,-0.487012 v -5.857219 c 0,-0.692928 0.562188,-1.255117 1.255118,-1.255117 0.692929,0 1.255117,0.562189 1.255117,1.255117 v 5.857219 c 0,0.692929 0.562189,1.255117 1.255119,1.255117 0.08498,0 0.173233,-0.0098 0.251678,-0.02614 0.326853,-0.06538 0.607946,-0.261483 0.790985,-0.526235 0.0425,-0.06864 0.08172,-0.140547 0.114397,-0.215723 0.0621,-0.147085 0.09805,-0.31378 0.09805,-0.487012 v -5.857218 c 0,-0.692929 0.562188,-1.255118 1.255118,-1.255118 0.69293,0 1.255118,0.562189 1.255118,1.255118 v 5.857218 c 0,0.692929 0.562189,1.255118 1.255119,1.255118 0.692929,0 1.255118,-0.562189 1.255118,-1.255118 v -5.857218 c 0,-2.075521 -1.689834,-3.765354 -3.765355,-3.765354 -0.967486,0 -1.843454,0.37915 -2.510236,0.98056 -0.666781,-0.60141 -1.542749,-0.98056 -2.510236,-0.98056 -0.964217,0 -1.833649,0.372613 -2.497162,0.970755 -0.594862,-0.565457 -1.411997,-0.970755 -2.523299,-0.970755 z"
|
||||
id="path1-3"
|
||||
style="display:inline;stroke-width:0.836719;stroke-dasharray:none" />
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 12 KiB |
50
js/ckeditor.feeds.js
Normal file
50
js/ckeditor.feeds.js
Normal file
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* CKEditor Feeds.
|
||||
*
|
||||
* @api
|
||||
* @since 3.2.0
|
||||
*/
|
||||
const CombodoCKEditorFeeds = {
|
||||
|
||||
/**
|
||||
* Get AJAX items.
|
||||
*
|
||||
* @param options
|
||||
* @returns {function(*): Promise<*>}
|
||||
*/
|
||||
getAjaxItems: function( options ) {
|
||||
return async function(queryText) {
|
||||
return new Promise( resolve => {
|
||||
setTimeout( () => {
|
||||
fetch(options.url + queryText)
|
||||
.then(response => {
|
||||
return response.json();
|
||||
})
|
||||
.then(json => {
|
||||
// ckeditor mandatory data
|
||||
json.data['search_data'].forEach(e => {
|
||||
e['name'] = e['friendlyname'];
|
||||
e['id'] = options['marker']+e['friendlyname'];
|
||||
});
|
||||
// return searched data
|
||||
resolve( json.data['search_data']);
|
||||
});
|
||||
|
||||
}, options.throttle);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Item Renderer.
|
||||
*
|
||||
* @param id
|
||||
* @returns {function(*): *}
|
||||
*/
|
||||
customItemRenderer: function( id ) {
|
||||
return function(item){
|
||||
return CombodoGlobalToolbox.RenderTemplate(id + '_items_template', item, 'ibo-mention-item')[0];
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
136
js/ckeditor.handler.js
Normal file
136
js/ckeditor.handler.js
Normal file
@@ -0,0 +1,136 @@
|
||||
/**
|
||||
*
|
||||
* @api
|
||||
* @since 3.2.0
|
||||
*/
|
||||
const CombodoCKEditorHandler = {
|
||||
instances: {},
|
||||
instances_promise: {},
|
||||
|
||||
/**
|
||||
*
|
||||
* @param sElem
|
||||
* @param aConfiguration
|
||||
* @constructor
|
||||
*/
|
||||
PrepareConfiguration: function(sElem, aConfiguration){
|
||||
|
||||
// mention
|
||||
if(aConfiguration !== undefined && aConfiguration['mention'] !== undefined){
|
||||
|
||||
// iterate throw feeds...
|
||||
aConfiguration['mention']['feeds'].forEach(function(e){
|
||||
|
||||
// ajax feed
|
||||
if(e['feed_type'] === 'ajax'){
|
||||
|
||||
// feed callback
|
||||
e['feed'] = CombodoCKEditorFeeds.getAjaxItems(e['feed_ajax_options']);
|
||||
|
||||
// feed item render
|
||||
e['itemRenderer'] = CombodoCKEditorFeeds.customItemRenderer(sElem);
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Make the oElem enter the fullscreen mode, meaning that it will take all the screen and be above everything else.
|
||||
*
|
||||
* @param {string} sElem The id object of the element
|
||||
* @param {array} aConfiguration The CKEditor configuration
|
||||
* @constructor
|
||||
*/
|
||||
CreateInstance: function (sElem, aConfiguration) {
|
||||
|
||||
// prepare configuration
|
||||
CombodoCKEditorHandler.PrepareConfiguration(sElem, aConfiguration);
|
||||
|
||||
return this.instances_promise[sElem] = new Promise((resolve, reject) => {
|
||||
ClassicEditor.create($(sElem)[0], aConfiguration)
|
||||
.then(editor => {
|
||||
this.instances[sElem] = editor;
|
||||
resolve(editor);
|
||||
})
|
||||
.catch( error => {
|
||||
console.error( error );
|
||||
} );
|
||||
});
|
||||
},
|
||||
DeleteInstance: async function(sElem){
|
||||
let oInstance = await this.GetInstance(sElem);
|
||||
if (oInstance) {
|
||||
oInstance.destroy().then(() => {
|
||||
CombodoJSConsole.Debug('CKEditor for #'+sId+' destroyed successfully');
|
||||
}).catch(error => {
|
||||
CombodoJSConsole.Error('Error during #'+sId+' editor destruction:' + error);
|
||||
});
|
||||
}
|
||||
},
|
||||
GetInstance: async function(sElem){
|
||||
if (this.instances[sElem]) {
|
||||
return this.instances[sElem];
|
||||
}
|
||||
else{
|
||||
let oEditor = null
|
||||
if(!this.instances_promise[sElem]){
|
||||
this.instances_promise[sElem] = new Promise((resolve, reject) => {
|
||||
});
|
||||
}
|
||||
await this.instances_promise[sElem].then((editor) => {
|
||||
oEditor = editor;
|
||||
});
|
||||
return oEditor;
|
||||
}
|
||||
},
|
||||
GetInstanceSynchronous: function(sElem) {
|
||||
return this.instances[sElem];
|
||||
},
|
||||
EnableImageUpload: async function(sElem, sUrl){
|
||||
const editor = await this.GetInstance(sElem);
|
||||
class SimpleUploadAdapter {
|
||||
constructor(loader) {
|
||||
this.loader = loader;
|
||||
}
|
||||
|
||||
upload() {
|
||||
return this.loader.file
|
||||
.then(file => new Promise((resolve, reject) => {
|
||||
// Replace 'your-upload-url' with your server-side upload endpoint
|
||||
const uploadUrl = sUrl;
|
||||
|
||||
const formData = new FormData();
|
||||
formData.append('upload', file);
|
||||
|
||||
fetch(uploadUrl, {
|
||||
method: 'POST',
|
||||
body: formData,
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(responseData => {
|
||||
if (responseData.uploaded) {
|
||||
resolve({ default: responseData.url });
|
||||
} else {
|
||||
reject(responseData.error.message || 'Upload failed');
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
reject('Upload failed due to a network error.');
|
||||
});
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
// Enable the custom upload adapter
|
||||
editor.plugins.get('FileRepository').createUploadAdapter = (loader) => {
|
||||
return new SimpleUploadAdapter(loader);
|
||||
};
|
||||
},
|
||||
InsertHtmlInsideInstance: function(sElem, sHtml){
|
||||
|
||||
CombodoCKEditorHandler.GetInstance(sElem).then((oCKEditor) => {
|
||||
oCKEditor.execute('insert-html', sHtml);
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,78 +0,0 @@
|
||||
/*
|
||||
* @copyright Copyright (C) 2010-2023 Combodo SARL
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
*/
|
||||
|
||||
// WARNING: This code cannot be placed directly within the page as CKEditor could not be loaded yet.
|
||||
// As it can be loaded from an XHR call (several times), we need to ensure it will be called when necessary (see PHP WebResourcesHelper)
|
||||
|
||||
CKEDITOR.on('instanceReady', function (oEvent) {
|
||||
// Keyboard listener
|
||||
oEvent.editor.on('key', function(oKeyEvent){
|
||||
const oKeyboardEvent = oKeyEvent.data.domEvent.$;
|
||||
|
||||
// Submit value on "Ctrl + Enter" or "Meta (Cmd) + Enter" keyboard shortcut
|
||||
if ((oKeyboardEvent.ctrlKey || oKeyboardEvent.metaKey) && oKeyboardEvent.key === 'Enter') {
|
||||
$('#'+ oEvent.editor.name).closest('form').trigger('submit');
|
||||
}
|
||||
});
|
||||
// N°4631 - Add a custom class to the CKEditor container when it is in fullscreen mode
|
||||
// so elements know they should take into account intersecting with the editor
|
||||
oEvent.editor.on('maximize', function() {
|
||||
const sFullscreenClass = 'ibo-is-fullscreen';
|
||||
let container = this.container.getFirst( function( node ) {
|
||||
return node.type === CKEDITOR.NODE_ELEMENT && node.hasClass( 'cke_inner' );
|
||||
} );
|
||||
if (this.commands.maximize.state === CKEDITOR.TRISTATE_ON) {
|
||||
// The editor is in fullscreen mode, add the custom class
|
||||
container.addClass(sFullscreenClass);
|
||||
} else {
|
||||
// The editor is not in fullscreen mode, remove the custom class
|
||||
container.removeClass(sFullscreenClass);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// For disabling the CKEditor at init time when the corresponding textarea is disabled !
|
||||
if ((CKEDITOR !== undefined) && (CKEDITOR.plugins.registered['disabler'] === undefined)) {
|
||||
CKEDITOR.plugins.add( 'disabler',
|
||||
{
|
||||
init : function( editor )
|
||||
{
|
||||
editor.on( 'instanceReady', function(e)
|
||||
{
|
||||
e.removeListener();
|
||||
$('#'+ editor.name).trigger('update');
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
// Rewrite the CKEditor Mentions plugin regexp to make it suitable for all Unicode alphabets.
|
||||
if (CKEDITOR !== undefined && CKEDITOR.plugins.registered['mentions']) {
|
||||
// From https://github.com/ckeditor/ckeditor4/blob/a3786007fb979d7d7bff3d10c34a2d422935baed/plugins/mentions/plugin.js#L147
|
||||
function createPattern(marker, minChars) {
|
||||
// Escape marker if it's a regex token
|
||||
// https://github.com/tc39/proposal-regex-escaping/blob/main/EscapedChars.md#syntaxcharacter-proposal
|
||||
const regexTokens = ['^', '$', '\\', '.', '*', '+', '?', '(', ')', '[', ']', '{', '}', '|'];
|
||||
if (regexTokens.indexOf(marker) >= 0) {
|
||||
marker = '\\' + marker;
|
||||
}
|
||||
|
||||
let pattern = marker + '[\\p{L}\\p{N}_-]';
|
||||
if ( minChars ) {
|
||||
pattern += '{' + minChars + ',}';
|
||||
} else {
|
||||
pattern += '*';
|
||||
}
|
||||
pattern += '$';
|
||||
return new RegExp(pattern, 'u');
|
||||
}
|
||||
|
||||
CKEDITOR.on('instanceLoaded', event => {
|
||||
event.editor.config.mentions.forEach(config => {
|
||||
config.pattern = createPattern(config.marker, config.minChars);
|
||||
});
|
||||
});
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,39 +1,60 @@
|
||||
CKEditor 4
|
||||
==========
|
||||
# CKEditor 5 editor generated with the online builder
|
||||
|
||||
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
||||
https://ckeditor.com - See LICENSE.md for license information.
|
||||
This repository presents a CKEditor 5 editor build generated by the [Online builder tool](https://ckeditor.com/ckeditor-5/online-builder)
|
||||
|
||||
CKEditor 4 is a text editor to be used inside web pages. It's not a replacement
|
||||
for desktop text editors like Word or OpenOffice, but a component to be used as
|
||||
part of web applications and websites.
|
||||
## Quick start
|
||||
|
||||
## Documentation
|
||||
1. Open the `sample/index.html` page in the browser.
|
||||
|
||||
The full editor documentation is available online at the following address:
|
||||
https://ckeditor.com/docs/
|
||||
2. Fill the prompt with the license key. If you do not have the license key yet [contact us](https://ckeditor.com/contact/).
|
||||
|
||||
## Installation
|
||||
## Configuring build
|
||||
|
||||
Installing CKEditor is an easy task. Just follow these simple steps:
|
||||
Changes like changing toolbar items, changing order of icons or customizing plugin configurations should be relatively easy to make. Open the `sample/index.html` file and edit the script that initialized the CKEditor 5. Save the file and refresh the browser. That's all.
|
||||
|
||||
1. **Download** the latest version from the CKEditor website:
|
||||
https://ckeditor.com. You should have already completed this step, but be
|
||||
sure you have the very latest version.
|
||||
2. **Extract** (decompress) the downloaded file into the root of your website.
|
||||
*Note:* If you have any problems with browser caching use the `Ctrl + R` or `Cmd + R` shortcut depending on your system.
|
||||
|
||||
**Note:** CKEditor is by default installed in the `ckeditor` folder. You can
|
||||
place the files in whichever you want though.
|
||||
However if you want to remove or add a plugin to the build you need to follow the next step of this guide.
|
||||
|
||||
## Checking Your Installation
|
||||
Note that it is also possible to go back to the [Online builder tool](https://ckeditor.com/ckeditor-5/online-builder) and pick other set of plugins. But we encourage you to try the harder way and to learn the principles of Node.js and CKEditor 5 ecosystems that will allow you to do more cool things in the future!
|
||||
|
||||
The editor comes with a few sample pages that can be used to verify that
|
||||
installation proceeded properly. Take a look at the `samples` directory.
|
||||
### Installation
|
||||
|
||||
To test your installation, just call the following page at your website:
|
||||
In order to rebuild the application you need to install all dependencies first. To do it, open the terminal in the project directory and type:
|
||||
|
||||
http://<your site>/<CKEditor installation path>/samples/index.html
|
||||
```
|
||||
npm install
|
||||
```
|
||||
|
||||
For example:
|
||||
Make sure that you have the `node` and `npm` installed first. If not, then follow the instructions on the [Node.js documentation page](https://nodejs.org/en/).
|
||||
|
||||
http://www.example.com/ckeditor/samples/index.html
|
||||
### Adding or removing plugins
|
||||
|
||||
Now you can install additional plugin in the build. Just follow the [Adding a plugin to an editor tutorial](https://ckeditor.com/docs/ckeditor5/latest/installation/plugins/installing-plugins.html#adding-a-plugin-to-an-editor)
|
||||
|
||||
### Rebuilding editor
|
||||
|
||||
If you have already done the [Installation](#installation) and [Adding or removing plugins](#adding-or-removing-plugins) steps, you're ready to rebuild the editor by running the following command:
|
||||
|
||||
```
|
||||
npm run build
|
||||
```
|
||||
|
||||
This will build the CKEditor 5 to the `build` directory. You can open your browser and you should be able to see the changes you've made in the code. If not, then try to refresh also the browser cache by typing `Ctrl + R` or `Cmd + R` depending on your system.
|
||||
|
||||
## What's next?
|
||||
|
||||
Follow the guides available on https://ckeditor.com/docs/ckeditor5/latest/framework/index.html and enjoy the document editing.
|
||||
|
||||
## FAQ
|
||||
| Where is the place to report bugs and feature requests?
|
||||
|
||||
You can create an issue on https://github.com/ckeditor/ckeditor5/issues including the build id - `432vyqcgng9n-qwbrzeekei95`. Make sure that the question / problem is unique, please look for a possibly asked questions in the search box. Duplicates will be closed.
|
||||
|
||||
| Where can I learn more about the CKEditor 5 framework?
|
||||
|
||||
Here: https://ckeditor.com/docs/ckeditor5/latest/framework/
|
||||
|
||||
| Is it possible to use online builder with common frameworks like React, Vue or Angular?
|
||||
|
||||
Not yet, but it these integrations will be available at some point in the future.
|
||||
|
||||
10
js/ckeditor/adapters/jquery.js
vendored
10
js/ckeditor/adapters/jquery.js
vendored
@@ -1,10 +0,0 @@
|
||||
/*
|
||||
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
(function(a){if("undefined"==typeof a)throw Error("jQuery should be loaded before CKEditor jQuery adapter.");if("undefined"==typeof CKEDITOR)throw Error("CKEditor should be loaded before CKEditor jQuery adapter.");CKEDITOR.config.jqueryOverrideVal="undefined"==typeof CKEDITOR.config.jqueryOverrideVal?!0:CKEDITOR.config.jqueryOverrideVal;a.extend(a.fn,{ckeditorGet:function(){var a=this.eq(0).data("ckeditorInstance");if(!a)throw"CKEditor is not initialized yet, use ckeditor() with a callback.";return a},
|
||||
ckeditor:function(g,e){if(!CKEDITOR.env.isCompatible)throw Error("The environment is incompatible.");if(!a.isFunction(g)){var m=e;e=g;g=m}var k=[];e=e||{};this.each(function(){var b=a(this),c=b.data("ckeditorInstance"),f=b.data("_ckeditorInstanceLock"),h=this,l=new a.Deferred;k.push(l.promise());if(c&&!f)g&&g.apply(c,[this]),l.resolve();else if(f)c.once("instanceReady",function(){setTimeout(function d(){c.element?(c.element.$==h&&g&&g.apply(c,[h]),l.resolve()):setTimeout(d,100)},0)},null,null,9999);
|
||||
else{if(e.autoUpdateElement||"undefined"==typeof e.autoUpdateElement&&CKEDITOR.config.autoUpdateElement)e.autoUpdateElementJquery=!0;e.autoUpdateElement=!1;b.data("_ckeditorInstanceLock",!0);c=a(this).is("textarea")?CKEDITOR.replace(h,e):CKEDITOR.inline(h,e);b.data("ckeditorInstance",c);c.on("instanceReady",function(e){var d=e.editor;setTimeout(function n(){if(d.element){e.removeListener();d.on("dataReady",function(){b.trigger("dataReady.ckeditor",[d])});d.on("setData",function(a){b.trigger("setData.ckeditor",
|
||||
[d,a.data])});d.on("getData",function(a){b.trigger("getData.ckeditor",[d,a.data])},999);d.on("destroy",function(){b.trigger("destroy.ckeditor",[d])});d.on("save",function(){a(h.form).submit();return!1},null,null,20);if(d.config.autoUpdateElementJquery&&b.is("textarea")&&a(h.form).length){var c=function(){b.ckeditor(function(){d.updateElement()})};a(h.form).submit(c);a(h.form).bind("form-pre-serialize",c);b.bind("destroy.ckeditor",function(){a(h.form).unbind("submit",c);a(h.form).unbind("form-pre-serialize",
|
||||
c)})}d.on("destroy",function(){b.removeData("ckeditorInstance")});b.removeData("_ckeditorInstanceLock");b.trigger("instanceReady.ckeditor",[d]);g&&g.apply(d,[h]);l.resolve()}else setTimeout(n,100)},0)},null,null,9999)}});var f=new a.Deferred;this.promise=f.promise();a.when.apply(this,k).then(function(){f.resolve()});this.editor=this.eq(0).data("ckeditorInstance");return this}});CKEDITOR.config.jqueryOverrideVal&&(a.fn.val=CKEDITOR.tools.override(a.fn.val,function(g){return function(e){if(arguments.length){var m=
|
||||
this,k=[],f=this.each(function(){var b=a(this),c=b.data("ckeditorInstance");if(b.is("textarea")&&c){var f=new a.Deferred;c.setData(e,function(){f.resolve()});k.push(f.promise());return!0}return g.call(b,e)});if(k.length){var b=new a.Deferred;a.when.apply(this,k).done(function(){b.resolveWith(m)});return b.promise()}return f}var f=a(this).eq(0),c=f.data("ckeditorInstance");return f.is("textarea")&&c?c.getData():g.call(f)}}))})(window.jQuery);
|
||||
@@ -1,120 +0,0 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
|
||||
* For licensing, see LICENSE.md or https://ckeditor.com/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* This file was added automatically by CKEditor builder.
|
||||
* You may re-use it at any time to build CKEditor again.
|
||||
*
|
||||
* If you would like to build CKEditor online again
|
||||
* (for example to upgrade), visit one the following links:
|
||||
*
|
||||
* (1) https://ckeditor.com/cke4/builder
|
||||
* Visit online builder to build CKEditor from scratch.
|
||||
*
|
||||
* (2) https://ckeditor.com/cke4/builder/363612f1c48aab01ae21e0e8388b886b
|
||||
* Visit online builder to build CKEditor, starting with the same setup as before.
|
||||
*
|
||||
* (3) https://ckeditor.com/cke4/builder/download/363612f1c48aab01ae21e0e8388b886b
|
||||
* Straight download link to the latest version of CKEditor (Optimized) with the same setup as before.
|
||||
*
|
||||
* NOTE:
|
||||
* This file is not used by CKEditor, you may remove it.
|
||||
* Changing this file will not change your CKEditor configuration.
|
||||
*/
|
||||
|
||||
var CKBUILDER_CONFIG = {
|
||||
skin: 'moono-lisa',
|
||||
preset: 'standard',
|
||||
ignore: [
|
||||
'.DS_Store',
|
||||
'.bender',
|
||||
'.editorconfig',
|
||||
'.gitattributes',
|
||||
'.gitignore',
|
||||
'.idea',
|
||||
'.jscsrc',
|
||||
'.jshintignore',
|
||||
'.jshintrc',
|
||||
'.mailmap',
|
||||
'.npm',
|
||||
'.nvmrc',
|
||||
'.travis.yml',
|
||||
'bender-err.log',
|
||||
'bender-out.log',
|
||||
'bender.ci.js',
|
||||
'bender.js',
|
||||
'dev',
|
||||
'gruntfile.js',
|
||||
'less',
|
||||
'node_modules',
|
||||
'package-lock.json',
|
||||
'package.json',
|
||||
'tests'
|
||||
],
|
||||
plugins : {
|
||||
'a11yhelp' : 1,
|
||||
'about' : 1,
|
||||
'basicstyles' : 1,
|
||||
'blockquote' : 1,
|
||||
'clipboard' : 1,
|
||||
'codesnippet' : 1,
|
||||
'colorbutton' : 1,
|
||||
'colordialog' : 1,
|
||||
'confighelper' : 1,
|
||||
'contextmenu' : 1,
|
||||
'elementspath' : 1,
|
||||
'enterkey' : 1,
|
||||
'entities' : 1,
|
||||
'filebrowser' : 1,
|
||||
'floatingspace' : 1,
|
||||
'font' : 1,
|
||||
'format' : 1,
|
||||
'horizontalrule' : 1,
|
||||
'htmlwriter' : 1,
|
||||
'image' : 1,
|
||||
'indentlist' : 1,
|
||||
'justify' : 1,
|
||||
'link' : 1,
|
||||
'list' : 1,
|
||||
'magicline' : 1,
|
||||
'maximize' : 1,
|
||||
'mentions' : 1,
|
||||
'pastefromword' : 1,
|
||||
'pastetext' : 1,
|
||||
'pastetools' : 1,
|
||||
'removeformat' : 1,
|
||||
'resize' : 1,
|
||||
'scayt' : 1,
|
||||
'showborders' : 1,
|
||||
'sourcearea' : 1,
|
||||
'specialchar' : 1,
|
||||
'stylescombo' : 1,
|
||||
'tab' : 1,
|
||||
'table' : 1,
|
||||
'tabletools' : 1,
|
||||
'toolbar' : 1,
|
||||
'undo' : 1,
|
||||
'uploadimage' : 1,
|
||||
'wsc' : 1,
|
||||
'wysiwygarea' : 1
|
||||
},
|
||||
languages : {
|
||||
'cs' : 1,
|
||||
'da' : 1,
|
||||
'de' : 1,
|
||||
'en' : 1,
|
||||
'es' : 1,
|
||||
'fr' : 1,
|
||||
'hu' : 1,
|
||||
'it' : 1,
|
||||
'ja' : 1,
|
||||
'nl' : 1,
|
||||
'pt-br' : 1,
|
||||
'ru' : 1,
|
||||
'sk' : 1,
|
||||
'tr' : 1,
|
||||
'zh-cn' : 1
|
||||
}
|
||||
};
|
||||
30
js/ckeditor/build/ckeditor.d.ts
vendored
Normal file
30
js/ckeditor/build/ckeditor.d.ts
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* @license Copyright (c) 2014-2024, CKSource Holding sp. z o.o. All rights reserved.
|
||||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
||||
*/
|
||||
import { ClassicEditor } from '@ckeditor/ckeditor5-editor-classic';
|
||||
import { Alignment } from '@ckeditor/ckeditor5-alignment';
|
||||
import { Bold, Italic, Strikethrough, Subscript, Superscript, Underline } from '@ckeditor/ckeditor5-basic-styles';
|
||||
import { BlockQuote } from '@ckeditor/ckeditor5-block-quote';
|
||||
import { CodeBlock } from '@ckeditor/ckeditor5-code-block';
|
||||
import type { EditorConfig } from '@ckeditor/ckeditor5-core';
|
||||
import { Essentials } from '@ckeditor/ckeditor5-essentials';
|
||||
import { FontBackgroundColor, FontColor, FontFamily, FontSize } from '@ckeditor/ckeditor5-font';
|
||||
import { Heading } from '@ckeditor/ckeditor5-heading';
|
||||
import { Highlight } from '@ckeditor/ckeditor5-highlight';
|
||||
import { HorizontalLine } from '@ckeditor/ckeditor5-horizontal-line';
|
||||
import { Image, ImageCaption, ImageResize, ImageStyle, ImageToolbar, ImageUpload, PictureEditing } from '@ckeditor/ckeditor5-image';
|
||||
import { Indent } from '@ckeditor/ckeditor5-indent';
|
||||
import { Link, LinkImage } from '@ckeditor/ckeditor5-link';
|
||||
import { List, ListProperties } from '@ckeditor/ckeditor5-list';
|
||||
import { Mention } from '@ckeditor/ckeditor5-mention';
|
||||
import { Table, TableCaption, TableCellProperties, TableColumnResize, TableProperties, TableToolbar } from '@ckeditor/ckeditor5-table';
|
||||
import { Undo } from '@ckeditor/ckeditor5-undo';
|
||||
import InsertHtml from './plugins/insert-html/insert-html.plugin';
|
||||
import ObjectShortcut from './plugins/object-shortcut/object-shortcut.plugin';
|
||||
import './resources/console-theme.css';
|
||||
declare class Editor extends ClassicEditor {
|
||||
static builtinPlugins: (typeof InsertHtml | typeof Alignment | typeof Superscript | typeof Subscript | typeof Bold | typeof Italic | typeof Strikethrough | typeof Underline | typeof BlockQuote | typeof CodeBlock | typeof Undo | typeof Essentials | typeof FontBackgroundColor | typeof FontColor | typeof FontFamily | typeof FontSize | typeof Heading | typeof Highlight | typeof HorizontalLine | typeof Image | typeof ImageCaption | typeof ImageResize | typeof ImageStyle | typeof ImageToolbar | typeof ImageUpload | typeof Indent | typeof Link | typeof LinkImage | typeof List | typeof ListProperties | typeof Mention | typeof Table | typeof TableCaption | typeof TableCellProperties | typeof TableColumnResize | typeof TableProperties | typeof TableToolbar | typeof ObjectShortcut | typeof PictureEditing)[];
|
||||
static defaultConfig: EditorConfig;
|
||||
}
|
||||
export default Editor;
|
||||
7
js/ckeditor/build/ckeditor.js
vendored
Normal file
7
js/ckeditor/build/ckeditor.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/ckeditor.js.map
Normal file
1
js/ckeditor/build/ckeditor.js.map
Normal file
File diff suppressed because one or more lines are too long
4
js/ckeditor/build/maximize.plugin.d.ts
vendored
Normal file
4
js/ckeditor/build/maximize.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
export declare class Maximize extends Plugin {
|
||||
init(): void;
|
||||
}
|
||||
12
js/ckeditor/build/plugins/editor-features.plugin.d.ts
vendored
Normal file
12
js/ckeditor/build/plugins/editor-features.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
/**
|
||||
* EditorFeatures Plugin.
|
||||
*
|
||||
* - trigger update event when editor is ready
|
||||
* - dispatch submit event on the closest editor form when Ctrl+Enter pressed
|
||||
*
|
||||
*/
|
||||
export declare class EditorFeatures extends Plugin {
|
||||
static get pluginName(): string;
|
||||
init(): void;
|
||||
}
|
||||
13
js/ckeditor/build/plugins/editor_features/editor-features.plugin.d.ts
vendored
Normal file
13
js/ckeditor/build/plugins/editor_features/editor-features.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
/**
|
||||
* EditorFeatures Plugin.
|
||||
*
|
||||
* - trigger update event when editor is ready
|
||||
* - dispatch submit event on the closest editor form when Ctrl+Enter pressed
|
||||
* - converter for mentions
|
||||
* - appends ibo-is-html-content class
|
||||
*/
|
||||
export default class EditorFeatures extends Plugin {
|
||||
static get pluginName(): string;
|
||||
init(): void;
|
||||
}
|
||||
11
js/ckeditor/build/plugins/ibo-compatibility.plugin.d.ts
vendored
Normal file
11
js/ckeditor/build/plugins/ibo-compatibility.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
/**
|
||||
* IBOCompatibility Plugin.
|
||||
*
|
||||
* - exclude ck-reset_all for mention dropdown
|
||||
* - appends ibo-is-html-content class
|
||||
*/
|
||||
export declare class IBOCompatibility extends Plugin {
|
||||
static get pluginName(): string;
|
||||
init(): Promise<unknown> | void | undefined | null;
|
||||
}
|
||||
5
js/ckeditor/build/plugins/itop-mention.plugin.d.ts
vendored
Normal file
5
js/ckeditor/build/plugins/itop-mention.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
export declare class ITopMention extends Plugin {
|
||||
init(): Promise<unknown> | void | undefined | null;
|
||||
static get pluginName(): string;
|
||||
}
|
||||
5
js/ckeditor/build/plugins/maximize.plugin.d.ts
vendored
Normal file
5
js/ckeditor/build/plugins/maximize.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
export declare class Maximize extends Plugin {
|
||||
static get pluginName(): string;
|
||||
init(): void;
|
||||
}
|
||||
5
js/ckeditor/build/plugins/maximize/maximize.plugin.d.ts
vendored
Normal file
5
js/ckeditor/build/plugins/maximize/maximize.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
export default class Maximize extends Plugin {
|
||||
static get pluginName(): string;
|
||||
init(): void;
|
||||
}
|
||||
5
js/ckeditor/build/plugins/mention-converter.plugin.d.ts
vendored
Normal file
5
js/ckeditor/build/plugins/mention-converter.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
export declare class MentionConverter extends Plugin {
|
||||
static get pluginName(): string;
|
||||
init(): Promise<unknown> | void | undefined | null;
|
||||
}
|
||||
18
js/ckeditor/build/plugins/object-shortcut.form-view.d.ts
vendored
Normal file
18
js/ckeditor/build/plugins/object-shortcut.form-view.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
||||
* For licensing, see LICENSE.md.
|
||||
*/
|
||||
import { View, LabeledFieldView, ButtonView } from '@ckeditor/ckeditor5-ui';
|
||||
import { Locale } from '@ckeditor/ckeditor5-utils';
|
||||
export default class FormView extends View {
|
||||
abbrInputView: LabeledFieldView;
|
||||
titleInputView: LabeledFieldView;
|
||||
saveButtonView: ButtonView;
|
||||
cancelButtonView: ButtonView;
|
||||
childViews: any;
|
||||
constructor(locale: Locale);
|
||||
render(): void;
|
||||
focus(): void;
|
||||
_createInput(label: string): LabeledFieldView<import("@ckeditor/ckeditor5-ui").InputTextView>;
|
||||
_createButton(label: string, icon: string, className: string): ButtonView;
|
||||
}
|
||||
12
js/ckeditor/build/plugins/object-shortcut.plugin.d.ts
vendored
Normal file
12
js/ckeditor/build/plugins/object-shortcut.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
import { Dialog } from '@ckeditor/ckeditor5-ui';
|
||||
/**
|
||||
* ObjectShortcut Plugin.
|
||||
*
|
||||
*
|
||||
*/
|
||||
export declare class ObjectShortcut extends Plugin {
|
||||
static get pluginName(): string;
|
||||
get requires(): (typeof Dialog)[];
|
||||
init(): void;
|
||||
}
|
||||
6
js/ckeditor/build/plugins/object-shortcut/object-shortcut.editing.d.ts
vendored
Normal file
6
js/ckeditor/build/plugins/object-shortcut/object-shortcut.editing.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { Plugin } from '@ckeditor/ckeditor5-core';
|
||||
export default class ObjectShortcutEditing extends Plugin {
|
||||
init(): void;
|
||||
_defineSchema(): void;
|
||||
_defineConverters(): void;
|
||||
}
|
||||
19
js/ckeditor/build/plugins/object-shortcut/object-shortcut.form-view.d.ts
vendored
Normal file
19
js/ckeditor/build/plugins/object-shortcut/object-shortcut.form-view.d.ts
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
||||
* For licensing, see LICENSE.md.
|
||||
*/
|
||||
import { View, LabeledFieldView, ButtonView } from '@ckeditor/ckeditor5-ui';
|
||||
import { Locale } from '@ckeditor/ckeditor5-utils';
|
||||
export default class FormView extends View {
|
||||
oLabelInputView: LabeledFieldView;
|
||||
oClassInputView: LabeledFieldView;
|
||||
oReferenceInputView: LabeledFieldView;
|
||||
oSaveButtonView: ButtonView;
|
||||
oCancelButtonView: ButtonView;
|
||||
oChildViews: any;
|
||||
constructor(oLocale: Locale);
|
||||
render(): void;
|
||||
focus(): void;
|
||||
_createInput(sLabel: string): LabeledFieldView<import("@ckeditor/ckeditor5-ui").InputTextView>;
|
||||
_createButton(sLabel: string, sIcon: string, sClassName: string): ButtonView;
|
||||
}
|
||||
5
js/ckeditor/build/plugins/object-shortcut/object-shortcut.plugin.d.ts
vendored
Normal file
5
js/ckeditor/build/plugins/object-shortcut/object-shortcut.plugin.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Plugin } from '@ckeditor/ckeditor5-core';
|
||||
import ObjectShortcutUI from './object-shortcut.ui';
|
||||
export default class ObjectShortcut extends Plugin {
|
||||
static get requires(): (typeof ObjectShortcutUI)[];
|
||||
}
|
||||
16
js/ckeditor/build/plugins/object-shortcut/object-shortcut.ui.d.ts
vendored
Normal file
16
js/ckeditor/build/plugins/object-shortcut/object-shortcut.ui.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Plugin } from '@ckeditor/ckeditor5-core';
|
||||
import { ContextualBalloon } from '@ckeditor/ckeditor5-ui';
|
||||
import FormView from './object-shortcut.form-view';
|
||||
import './styles.css';
|
||||
export default class ObjectShortcutUI extends Plugin {
|
||||
static get requires(): (typeof ContextualBalloon)[];
|
||||
oBalloon: ContextualBalloon | undefined;
|
||||
oFormView: FormView | undefined;
|
||||
init(): void;
|
||||
_createFormView(): FormView;
|
||||
_showUI(): void;
|
||||
_hideUI(): void;
|
||||
_getBalloonPositionData(): {
|
||||
oTarget: (() => Range) | null;
|
||||
};
|
||||
}
|
||||
1
js/ckeditor/build/translations/af.js
Normal file
1
js/ckeditor/build/translations/af.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e.af=e.af||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 van %1","Align center":"Belyn in die middel","Align left":"Belyn links","Align right":"Belyn regs","Block quote":"Verwysingsaanhaling",Bold:"Vet","Bold text":"",Cancel:"Kanselleer",Clear:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"Bronkode","Content editing keystrokes":"","Execute the currently focused button":"","Insert code block":"Voeg bronkodeblok in",Italic:"Kursief","Italic text":"",Justify:"Belyn beide kante","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Move out of an inline code style":"","Navigate through the toolbar":"","Open the accessibility help dialog":"","Plain text":"Gewone skrif","Remove color":"Verwyder kleur","Restore default":"Herstel verstek",Save:"Stoor","Show more items":"Wys meer items",Strikethrough:"Deurstreep","Strikethrough text":"",Subscript:"Onderskrif",Superscript:"Boskrif","Text alignment":"Teksbelyning","Text alignment toolbar":"Teksbelyning nutsbank","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Underline:"Onderstreep","Underline text":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/ar.js
Normal file
1
js/ckeditor/build/translations/ar.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/ast.js
Normal file
1
js/ckeditor/build/translations/ast.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e.ast=e.ast||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Bold:"Negrina","Bold text":"","Break text":"","Bulleted List":"Llista con viñetes","Bulleted list styles toolbar":"",Cancel:"Encaboxar","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"",Circle:"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"","Content editing keystrokes":"","Create link":"",Decimal:"","Decimal with leading zero":"","Decrease list item indent":"","Dim grey":"",Disc:"",Downloadable:"","Drag to move":"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"","Execute the currently focused button":"","Full size image":"Imaxen a tamañu completu",Green:"",Grey:"","Help Contents. To close this dialog press ESC.":"",HEX:"","Image resize list":"","Image toolbar":"","image widget":"complementu d'imaxen","In line":"","Increase list item indent":"",Insert:"","Insert image":"","Insert image via URL":"","Invalid start index value.":"",Italic:"Cursiva","Italic text":"","Keystrokes that can be used in a list":"","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"Enllazar","Link image":"","Link URL":"URL del enllaz","List properties":"","Lower-latin":"","Lower–roman":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the toolbar, navigate between toolbars":"","Move out of a link":"","Move out of an inline code style":"","Navigate through the toolbar":"",Next:"","No results found":"","No searchable items":"","Numbered List":"Llista numberada","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"","Open the accessibility help dialog":"",Orange:"",Original:"","Press %0 for help.":"",Previous:"",Purple:"",Red:"",Redo:"Refacer","Remove color":"","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Editor de testu arriquecíu","Right aligned image":"",Save:"Guardar","Show more items":"","Side image":"Imaxen llateral",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"","Text alternative":"","These keyboard shortcuts allow for quick access to content editing features.":"","This link has no URL":"","To-do List":"","Toggle caption off":"","Toggle caption on":"","Toggle the circle list style":"","Toggle the decimal list style":"","Toggle the decimal with leading zero list style":"","Toggle the disc list style":"","Toggle the lower–latin list style":"","Toggle the lower–roman list style":"","Toggle the square list style":"","Toggle the upper–latin list style":"","Toggle the upper–roman list style":"",Turquoise:"",Underline:"","Underline text":"",Undo:"Desfacer",Unlink:"Desenllazar",Update:"","Update image URL":"","Upload failed":"","Upload from computer":"","Upload image from computer":"","Upper-latin":"","Upper-roman":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Wrap text":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/az.js
Normal file
1
js/ckeditor/build/translations/az.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/bg.js
Normal file
1
js/ckeditor/build/translations/bg.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/bn.js
Normal file
1
js/ckeditor/build/translations/bn.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/bs.js
Normal file
1
js/ckeditor/build/translations/bs.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const a=e.bs=e.bs||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 od %1","Align center":"Centrirati","Align left":"Lijevo poravnanje","Align right":"Desno poravnanje",Big:"","Block quote":"Citat",Bold:"Podebljano","Bold text":"","Break text":"",Cancel:"Poništi","Caption for image: %0":"","Caption for the image":"","Centered image":"Centrirana slika","Change image text alternative":"Promijeni ALT atribut za sliku","Choose heading":"Odaberi naslov",Clear:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"Kod","Content editing keystrokes":"",Default:"Zadani","Document colors":"","Enter image caption":"Unesi naziv slike","Execute the currently focused button":"","Font Background Color":"Boja pozadine","Font Color":"Boja","Font Family":"Font","Font Size":"Veličina fonta","Full size image":"",Heading:"Naslov","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6","Horizontal line":"Horizontalna linija",Huge:"","Image resize list":"Lista veličina slike","Image toolbar":"","image widget":"","In line":"",Insert:"Umetni","Insert code block":"Umetni kod blok","Insert image":"Umetni sliku","Insert image via URL":"Umetni sliku preko URLa",Italic:"Zakrivljeno","Italic text":"",Justify:"","Left aligned image":"Lijevo poravnata slika","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Move out of an inline code style":"","Navigate through the toolbar":"","Open the accessibility help dialog":"",Original:"Original",Paragraph:"Paragraf","Plain text":"Tekst","Remove color":"Ukloni boju","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"Promijeni veličinu slike","Resize image to %0":"","Resize image to the original size":"Postavi originalnu veličinu slike","Restore default":"Vrati na zadano","Right aligned image":"Desno poravnata slika",Save:"Sačuvaj","Show more items":"Prikaži više stavki","Side image":"",Small:"",Strikethrough:"Precrtano","Strikethrough text":"",Subscript:"",Superscript:"","Text alignment":"Poravnanje teksta","Text alignment toolbar":"Traka za poravnanje teksta","Text alternative":"ALT atribut","These keyboard shortcuts allow for quick access to content editing features.":"",Tiny:"","Toggle caption off":"","Toggle caption on":"","Type or paste your content here.":"Unesite ili zalijepite vaš sadržaj ovdje","Type your title":"Unesite naslov",Underline:"Podcrtano","Underline text":"",Update:"Ažuriraj","Update image URL":"Ažuriraj URL slike","Upload failed":"Učitavanje slike nije uspjelo","Upload from computer":"","Upload image from computer":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"","Wrap text":"Prelomi tekst"}),a.getPluralForm=function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/ca.js
Normal file
1
js/ckeditor/build/translations/ca.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/cs.js
Normal file
1
js/ckeditor/build/translations/cs.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/da.js
Normal file
1
js/ckeditor/build/translations/da.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/de-ch.js
Normal file
1
js/ckeditor/build/translations/de-ch.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/de.js
Normal file
1
js/ckeditor/build/translations/de.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/el.js
Normal file
1
js/ckeditor/build/translations/el.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/en-au.js
Normal file
1
js/ckeditor/build/translations/en-au.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/en-gb.js
Normal file
1
js/ckeditor/build/translations/en-gb.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/eo.js
Normal file
1
js/ckeditor/build/translations/eo.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e.eo=e.eo||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"",Blue:"",Bold:"grasa","Bold text":"","Break text":"","Bulleted List":"Bula Listo","Bulleted list styles toolbar":"",Cancel:"Nuligi","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"Ŝanĝu la alternativan tekston de la bildo","Choose heading":"Elektu ĉapon",Circle:"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"","Content editing keystrokes":"","Create link":"",Decimal:"","Decimal with leading zero":"","Decrease list item indent":"","Dim grey":"",Disc:"",Downloadable:"","Drag to move":"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Skribu klarigon pri la bildo","Execute the currently focused button":"","Full size image":"Bildo kun reala dimensio",Green:"",Grey:"",Heading:"Ĉapo","Heading 1":"Ĉapo 1","Heading 2":"Ĉapo 2","Heading 3":"Ĉapo 3","Heading 4":"","Heading 5":"","Heading 6":"","Help Contents. To close this dialog press ESC.":"",HEX:"","Image resize list":"","Image toolbar":"","image widget":"bilda fenestraĵo","In line":"","Increase list item indent":"",Insert:"","Insert image":"Enmetu bildon","Insert image via URL":"","Invalid start index value.":"",Italic:"kursiva","Italic text":"","Keystrokes that can be used in a list":"","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"Ligilo","Link image":"","Link URL":"URL de la ligilo","List properties":"","Lower-latin":"","Lower–roman":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the toolbar, navigate between toolbars":"","Move out of a link":"","Move out of an inline code style":"","Navigate through the toolbar":"",Next:"","No results found":"","No searchable items":"","Numbered List":"Numerita Listo","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"","Open the accessibility help dialog":"",Orange:"",Original:"",Paragraph:"Paragrafo","Press %0 for help.":"",Previous:"",Purple:"",Red:"",Redo:"Refari","Remove color":"","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Redaktilo de Riĉa Teksto","Right aligned image":"",Save:"Konservi","Show more items":"","Side image":"Flanka biildo",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"","Text alternative":"Alternativa teksto","These keyboard shortcuts allow for quick access to content editing features.":"","This link has no URL":"","To-do List":"","Toggle caption off":"","Toggle caption on":"","Toggle the circle list style":"","Toggle the decimal list style":"","Toggle the decimal with leading zero list style":"","Toggle the disc list style":"","Toggle the lower–latin list style":"","Toggle the lower–roman list style":"","Toggle the square list style":"","Toggle the upper–latin list style":"","Toggle the upper–roman list style":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"","Underline text":"",Undo:"Malfari",Unlink:"Malligi",Update:"","Update image URL":"","Upload failed":"","Upload from computer":"","Upload image from computer":"","Upper-latin":"","Upper-roman":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Wrap text":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/es-co.js
Normal file
1
js/ckeditor/build/translations/es-co.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e["es-co"]=e["es-co"]||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"%0 de %1","Align center":"Centrar","Align left":"Alinear a la izquierda","Align right":"Alinear a la derecha","Block quote":"Cita de bloque",Bold:"Negrita","Bold text":"",Cancel:"Cancelar",Clear:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"Código","Content editing keystrokes":"","Execute the currently focused button":"","Insert code block":"Insertar bloque de código",Italic:"Cursiva","Italic text":"",Justify:"Justificar","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Move out of an inline code style":"","Navigate through the toolbar":"","Open the accessibility help dialog":"","Plain text":"Texto plano","Remove color":"Quitar color","Restore default":"Restaurar valores predeterminados",Save:"Guardar","Show more items":"Mostrar más elementos",Strikethrough:"Tachado","Strikethrough text":"",Subscript:"Subíndice",Superscript:"Superíndice","Text alignment":"Alineación de texto","Text alignment toolbar":"Herramientas de alineación de texto","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Underline:"Subrayado","Underline text":"","Upload in progress":"Carga en progreso","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":""}),t.getPluralForm=function(e){return 1==e?0:0!=e&&e%1e6==0?1:2}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/es.js
Normal file
1
js/ckeditor/build/translations/es.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/et.js
Normal file
1
js/ckeditor/build/translations/et.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/eu.js
Normal file
1
js/ckeditor/build/translations/eu.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e.eu=e.eu||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"","Block quote":"Aipua",Blue:"",Bold:"Lodia","Bold text":"","Break text":"","Bulleted List":"Buletdun zerrenda","Bulleted list styles toolbar":"",Cancel:"Utzi","Caption for image: %0":"","Caption for the image":"","Centered image":"Zentratutako irudia","Change image text alternative":"Aldatu irudiaren ordezko testua","Choose heading":"Aukeratu izenburua",Circle:"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"Kodea","Content editing keystrokes":"","Create link":"",Decimal:"","Decimal with leading zero":"","Decrease list item indent":"","Dim grey":"",Disc:"",Downloadable:"","Drag to move":"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"Sartu irudiaren epigrafea","Execute the currently focused button":"","Full size image":"Tamaina osoko irudia",Green:"",Grey:"",Heading:"Izenburua","Heading 1":"Izenburua 1","Heading 2":"Izenburua 2","Heading 3":"Izenburua 3","Heading 4":"","Heading 5":"","Heading 6":"","Help Contents. To close this dialog press ESC.":"",HEX:"","Image resize list":"","Image toolbar":"","image widget":"irudi widgeta","In line":"","Increase list item indent":"",Insert:"","Insert image":"Txertatu irudia","Insert image via URL":"","Invalid start index value.":"",Italic:"Etzana","Italic text":"","Keystrokes that can be used in a list":"","Left aligned image":"Ezkerrean lerrokatutako irudia","Light blue":"","Light green":"","Light grey":"",Link:"Esteka","Link image":"","Link URL":"Estekaren URLa","List properties":"","Lower-latin":"","Lower–roman":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the toolbar, navigate between toolbars":"","Move out of a link":"","Move out of an inline code style":"","Navigate through the toolbar":"",Next:"","No results found":"","No searchable items":"","Numbered List":"Zenbakidun zerrenda","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"","Open the accessibility help dialog":"",Orange:"",Original:"",Paragraph:"Paragrafoa","Press %0 for help.":"",Previous:"",Purple:"",Red:"",Redo:"Berregin","Remove color":"","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"Testu aberastuaren editorea","Right aligned image":"Eskuinean lerrokatutako irudia",Save:"Gorde","Show more items":"","Side image":"Alboko irudia",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"","Text alternative":"Ordezko testua","These keyboard shortcuts allow for quick access to content editing features.":"","This link has no URL":"","To-do List":"","Toggle caption off":"","Toggle caption on":"","Toggle the circle list style":"","Toggle the decimal list style":"","Toggle the decimal with leading zero list style":"","Toggle the disc list style":"","Toggle the lower–latin list style":"","Toggle the lower–roman list style":"","Toggle the square list style":"","Toggle the upper–latin list style":"","Toggle the upper–roman list style":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"Azpimarra","Underline text":"",Undo:"Desegin",Unlink:"Desestekatu",Update:"","Update image URL":"","Upload failed":"Kargatzeak huts egin du","Upload from computer":"","Upload image from computer":"","Upper-latin":"","Upper-roman":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Wrap text":"",Yellow:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/fa.js
Normal file
1
js/ckeditor/build/translations/fa.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/fi.js
Normal file
1
js/ckeditor/build/translations/fi.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/fr.js
Normal file
1
js/ckeditor/build/translations/fr.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/gl.js
Normal file
1
js/ckeditor/build/translations/gl.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/gu.js
Normal file
1
js/ckeditor/build/translations/gu.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e.gu=e.gu||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"","Block quote":" વિચાર ટાંકો",Bold:"ઘાટુ - બોલ્ડ્","Bold text":"",Cancel:"",Clear:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"","Content editing keystrokes":"","Execute the currently focused button":"",Italic:"ત્રાંસુ - ઇટલિક્","Italic text":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Move out of an inline code style":"","Navigate through the toolbar":"","Open the accessibility help dialog":"","Remove color":"","Restore default":"",Save:"","Show more items":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Underline:"નીચે લિટી - અન્ડરલાઇન્","Underline text":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/he.js
Normal file
1
js/ckeditor/build/translations/he.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/hi.js
Normal file
1
js/ckeditor/build/translations/hi.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/hr.js
Normal file
1
js/ckeditor/build/translations/hr.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/hu.js
Normal file
1
js/ckeditor/build/translations/hu.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/hy.js
Normal file
1
js/ckeditor/build/translations/hy.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e.hy=e.hy||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"","Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align table to the left":"","Align table to the right":"",Alignment:"",Background:"",Bold:"Թավագիր","Bold text":"",Border:"",Cancel:"Չեղարկել","Cell properties":"","Center table":"","Choose heading":"",Clear:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"Կոդ",Color:"","Color picker":"",Column:"Սյունակ","Content editing keystrokes":"","Create link":"",Dashed:"","Delete column":"","Delete row":"",Dimensions:"",Dotted:"",Double:"",Downloadable:"","Edit link":"Խմբագրել հղումը","Enter table caption":"","Execute the currently focused button":"",Groove:"","Header column":"","Header row":"",Heading:"","Heading 1":"Վերնագիր 1","Heading 2":"Վերնագիր 2","Heading 3":"Վերնագիր 3","Heading 4":"","Heading 5":"","Heading 6":"",Height:"","Horizontal text alignment toolbar":"","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"","Insert row below":"","Insert table":"",Inset:"",Italic:"Շեղագիր","Italic text":"","Justify cell text":"","Keystrokes that can be used in a table cell":"",Link:"Հղում","Link image":"","Link URL":"","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Move out of a link":"","Move out of an inline code style":"","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"","Navigate through the toolbar":"",None:"","Open in a new tab":"","Open link in new tab":"","Open the accessibility help dialog":"",Outset:"",Padding:"",Paragraph:"","Remove color":"","Restore default":"",Ridge:"",Row:"",Save:"","Select column":"","Select row":"","Show more items":"",Solid:"","Split cell horizontally":"","Split cell vertically":"",Strikethrough:"Գծանշել","Strikethrough text":"",Style:"",Subscript:"Ենթատեքստ",Superscript:"Գերագիր","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","These keyboard shortcuts allow for quick access to content editing features.":"","This link has no URL":"","Toggle caption off":"","Toggle caption on":"","Type or paste your content here.":"","Type your title":"",Underline:"Ընդգծել","Underline text":"",Unlink:"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"","Vertical text alignment toolbar":"",Width:""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/id.js
Normal file
1
js/ckeditor/build/translations/id.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/it.js
Normal file
1
js/ckeditor/build/translations/it.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/ja.js
Normal file
1
js/ckeditor/build/translations/ja.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/jv.js
Normal file
1
js/ckeditor/build/translations/jv.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const a=e.jv=e.jv||{};a.dictionary=Object.assign(a.dictionary||{},{"%0 of %1":"%0 saking %1","Align center":"Rata tengah","Align left":"Rata kiwa","Align right":"Rata tengen",Big:"Ageng","Blue marker":"Penandha biru",Bold:"Kandhel","Bold text":"","Break text":"","Bulleted List":"","Bulleted list styles toolbar":"",Cancel:"Batal","Caption for image: %0":"","Caption for the image":"","Centered image":"Gambar ing tengah","Change image text alternative":"","Choose heading":"",Circle:"Bunder",Clear:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"Kode","Content editing keystrokes":"",Decimal:"","Decimal with leading zero":"","Decrease list item indent":"",Default:"Default",Disc:"Kaset","Document colors":"Warni dokumen","Enter image caption":"","Execute the currently focused button":"","Font Background Color":"Warni Latar Aksara","Font Color":"Warni aksara","Font Family":"Jinising Aksara","Font Size":"Ukuran aksara","Full size image":"Gambar ukuran kebak","Green marker":"Panandha ijem","Green pen":"Pen ijem",Heading:"","Heading 1":"","Heading 2":"","Heading 3":"","Heading 4":"","Heading 5":"","Heading 6":"",Highlight:"Sorot","Horizontal line":"Garis horisontal","HTML object":"Obyek HTML",Huge:"Langkung ageng","Image resize list":"","Image toolbar":"","image widget":"","In line":"","Increase list item indent":"",Insert:"Tambah","Insert code block":"","Insert image":"Tambahaken gambar","Insert image via URL":"Tambah gambar saking URL","Invalid start index value.":"",Italic:"Miring","Italic text":"",Justify:"Rata kiwa tengen","Keystrokes that can be used in a list":"","Left aligned image":"Gambar ing kiwa","List properties":"","Lower-latin":"","Lower–roman":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Move out of an inline code style":"","Navigate through the toolbar":"","Numbered List":"","Numbered list styles toolbar":"","Open the accessibility help dialog":"",Original:"Asli",Paragraph:"","Pink marker":"Penandha abrit jambon","Plain text":"Seratan biasa","Red pen":"Penandha abrit","Remove color":"Busek warni","Remove highlight":"Busek sorot","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"Mangsulaken default","Reversed order":"Dipunwangsul","Right aligned image":"Gambar ing tengen",Save:"Rimat","Show more items":"Tampilaken langkung kathah","Side image":"",Small:"Alit",Square:"Kotak","Start at":"Wiwit saking","Start index must be greater than 0.":"",Strikethrough:"Seratan dicoret","Strikethrough text":"",Subscript:"",Superscript:"","Text alignment":"Perataan seratan","Text alignment toolbar":"","Text alternative":"","Text highlight toolbar":"","These keyboard shortcuts allow for quick access to content editing features.":"",Tiny:"Langkung alit","To-do List":"","Toggle caption off":"","Toggle caption on":"","Toggle the circle list style":"","Toggle the decimal list style":"","Toggle the decimal with leading zero list style":"","Toggle the disc list style":"","Toggle the lower–latin list style":"","Toggle the lower–roman list style":"","Toggle the square list style":"","Toggle the upper–latin list style":"","Toggle the upper–roman list style":"","Type or paste your content here.":"Serataken utawi nyukani babagan ing ngriki","Type your title":"Serataken irah-irahan",Underline:"Garis ngandhap","Underline text":"",Update:"","Update image URL":"","Upload failed":"","Upload from computer":"","Upload image from computer":"","Upper-latin":"","Upper-roman":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"","Wrap text":"","Yellow marker":"Panandha jene"}),a.getPluralForm=function(e){return 0}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/kk.js
Normal file
1
js/ckeditor/build/translations/kk.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(n){const t=n.kk=n.kk||{};t.dictionary=Object.assign(t.dictionary||{},{"Align center":"Ортадан туралау","Align left":"Солға туралау","Align right":"Оңға туралау",Justify:"","Text alignment":"Мәтінді туралау","Text alignment toolbar":"Мәтінді туралау құралдар тақтасы"}),t.getPluralForm=function(n){return 1!=n}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/km.js
Normal file
1
js/ckeditor/build/translations/km.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/kn.js
Normal file
1
js/ckeditor/build/translations/kn.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e.kn=e.kn||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"","Accessibility help":"",Aquamarine:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Black:"","Block quote":"ಗುರುತಿಸಲಾದ ಉಲ್ಲೇಖ",Blue:"",Bold:"ದಪ್ಪ","Bold text":"","Break text":"","Bulleted List":"ಬುಲೆಟ್ ಪಟ್ಟಿ","Bulleted list styles toolbar":"",Cancel:"ರದ್ದುಮಾಡು","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"ಚಿತ್ರದ ಬದಲಿ ಪಠ್ಯ ಬದಲಾಯಿಸು","Choose heading":"ಶೀರ್ಷಿಕೆ ಆಯ್ಕೆಮಾಡು",Circle:"",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"","Content editing keystrokes":"","Create link":"",Decimal:"","Decimal with leading zero":"","Decrease list item indent":"","Dim grey":"",Disc:"",Downloadable:"","Drag to move":"","Dropdown toolbar":"","Edit block":"","Edit link":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor editing area: %0":"","Editor toolbar":"","Enter image caption":"ಚಿತ್ರದ ಶೀರ್ಷಿಕೆ ಸೇರಿಸು","Execute the currently focused button":"","Full size image":"ಪೂರ್ಣ ಅಳತೆಯ ಚಿತ್ರ",Green:"",Grey:"",Heading:"ಶೀರ್ಷಿಕೆ","Heading 1":"ಶೀರ್ಷಿಕೆ 1","Heading 2":"ಶೀರ್ಷಿಕೆ 2","Heading 3":"ಶೀರ್ಷಿಕೆ 3","Heading 4":"","Heading 5":"","Heading 6":"","Help Contents. To close this dialog press ESC.":"",HEX:"","Image resize list":"","Image toolbar":"","image widget":"ಚಿತ್ರ ವಿಜೆಟ್","In line":"","Increase list item indent":"",Insert:"","Insert image":"","Insert image via URL":"","Invalid start index value.":"",Italic:"ಇಟಾಲಿಕ್","Italic text":"","Keystrokes that can be used in a list":"","Left aligned image":"","Light blue":"","Light green":"","Light grey":"",Link:"ಕೊಂಡಿ","Link image":"","Link URL":"ಕೊಂಡಿ ಸಂಪರ್ಕಿಸು","List properties":"","Lower-latin":"","Lower–roman":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the toolbar, navigate between toolbars":"","Move out of a link":"","Move out of an inline code style":"","Navigate through the toolbar":"",Next:"","No results found":"","No searchable items":"","Numbered List":"ಸಂಖ್ಯೆಯ ಪಟ್ಟಿ","Numbered list styles toolbar":"","Open in a new tab":"","Open link in new tab":"","Open the accessibility help dialog":"",Orange:"",Original:"",Paragraph:"ಪ್ಯಾರಾಗ್ರಾಫ್","Press %0 for help.":"",Previous:"",Purple:"",Red:"",Redo:"ಮತ್ತೆ ಮಾಡು","Remove color":"","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Rich Text Editor":"ಸಮೃದ್ಧ ಪಠ್ಯ ಸಂಪಾದಕ","Right aligned image":"",Save:"ಉಳಿಸು","Show more items":"","Side image":"ಪಕ್ಕದ ಚಿತ್ರ",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"","Text alternative":"ಪಠ್ಯದ ಬದಲಿ","These keyboard shortcuts allow for quick access to content editing features.":"","This link has no URL":"","To-do List":"","Toggle caption off":"","Toggle caption on":"","Toggle the circle list style":"","Toggle the decimal list style":"","Toggle the decimal with leading zero list style":"","Toggle the disc list style":"","Toggle the lower–latin list style":"","Toggle the lower–roman list style":"","Toggle the square list style":"","Toggle the upper–latin list style":"","Toggle the upper–roman list style":"",Turquoise:"","Type or paste your content here.":"","Type your title":"",Underline:"","Underline text":"",Undo:"ರದ್ದು",Unlink:"ಕೊಂಡಿ ತೆಗೆ",Update:"","Update image URL":"","Upload failed":"","Upload from computer":"","Upload image from computer":"","Upper-latin":"","Upper-roman":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"",White:"","Wrap text":"",Yellow:""}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/ko.js
Normal file
1
js/ckeditor/build/translations/ko.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/ku.js
Normal file
1
js/ckeditor/build/translations/ku.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/lt.js
Normal file
1
js/ckeditor/build/translations/lt.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/lv.js
Normal file
1
js/ckeditor/build/translations/lv.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/ms.js
Normal file
1
js/ckeditor/build/translations/ms.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/nb.js
Normal file
1
js/ckeditor/build/translations/nb.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/ne.js
Normal file
1
js/ckeditor/build/translations/ne.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/nl.js
Normal file
1
js/ckeditor/build/translations/nl.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/no.js
Normal file
1
js/ckeditor/build/translations/no.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/oc.js
Normal file
1
js/ckeditor/build/translations/oc.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e.oc=e.oc||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"",Bold:"Gras","Bold text":"",Cancel:"Anullar",Clear:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"","Content editing keystrokes":"","Execute the currently focused button":"",Italic:"Italica","Italic text":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Move out of an inline code style":"","Navigate through the toolbar":"","Open the accessibility help dialog":"","Remove color":"","Restore default":"",Save:"Enregistrar","Show more items":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"","These keyboard shortcuts allow for quick access to content editing features.":"","Toggle caption off":"","Toggle caption on":"",Underline:"","Underline text":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":""}),t.getPluralForm=function(e){return e>1}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/pl.js
Normal file
1
js/ckeditor/build/translations/pl.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/pt-br.js
Normal file
1
js/ckeditor/build/translations/pt-br.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/pt.js
Normal file
1
js/ckeditor/build/translations/pt.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/ro.js
Normal file
1
js/ckeditor/build/translations/ro.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/ru.js
Normal file
1
js/ckeditor/build/translations/ru.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/si.js
Normal file
1
js/ckeditor/build/translations/si.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e.si=e.si||{};t.dictionary=Object.assign(t.dictionary||{},{"%0 of %1":"",Bold:"තදකුරු","Bold text":"","Break text":"","Bulleted List":"බුලටිත ලැයිස්තුව","Bulleted list styles toolbar":"",Cancel:"","Caption for image: %0":"","Caption for the image":"","Centered image":"","Change image text alternative":"",Circle:"",Clear:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"","Content editing keystrokes":"",Decimal:"","Decimal with leading zero":"","Decrease list item indent":"",Disc:"","Enter image caption":"","Execute the currently focused button":"","Full size image":"","Image resize list":"","Image toolbar":"","image widget":"","In line":"","Increase list item indent":"",Insert:"","Insert image":"පින්තූරය ඇතුල් කරන්න","Insert image via URL":"","Invalid start index value.":"",Italic:"ඇලකුරු","Italic text":"","Keystrokes that can be used in a list":"","Left aligned image":"","List properties":"","Lower-latin":"","Lower–roman":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus to the toolbar, navigate between toolbars":"","Move out of an inline code style":"","Navigate through the toolbar":"","Numbered List":"අංකිත ලැයිස්තුව","Numbered list styles toolbar":"","Open the accessibility help dialog":"",Original:"",Redo:"නැවත කරන්න","Remove color":"","Replace from computer":"","Replace image":"","Replace image from computer":"","Resize image":"","Resize image to %0":"","Resize image to the original size":"","Restore default":"","Reversed order":"","Right aligned image":"",Save:"","Show more items":"","Side image":"",Square:"","Start at":"","Start index must be greater than 0.":"",Strikethrough:"","Strikethrough text":"",Subscript:"",Superscript:"","Text alternative":"","These keyboard shortcuts allow for quick access to content editing features.":"","To-do List":"","Toggle caption off":"","Toggle caption on":"","Toggle the circle list style":"","Toggle the decimal list style":"","Toggle the decimal with leading zero list style":"","Toggle the disc list style":"","Toggle the lower–latin list style":"","Toggle the lower–roman list style":"","Toggle the square list style":"","Toggle the upper–latin list style":"","Toggle the upper–roman list style":"",Underline:"","Underline text":"",Undo:"අහෝසි කරන්න",Update:"","Update image URL":"","Upload failed":"උඩුගත කිරීම අසාර්ථක විය","Upload from computer":"","Upload image from computer":"","Upper-latin":"","Upper-roman":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"","Wrap text":""}),t.getPluralForm=function(e){return 1!=e}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/sk.js
Normal file
1
js/ckeditor/build/translations/sk.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/sl.js
Normal file
1
js/ckeditor/build/translations/sl.js
Normal file
@@ -0,0 +1 @@
|
||||
!function(e){const t=e.sl=e.sl||{};t.dictionary=Object.assign(t.dictionary||{},{"(may require <kbd>Fn</kbd>)":"","%0 of %1":"",Accept:"","Accessibility help":"","Align cell text to the bottom":"","Align cell text to the center":"","Align cell text to the left":"","Align cell text to the middle":"","Align cell text to the right":"","Align cell text to the top":"","Align center":"Sredinska poravnava","Align left":"Poravnava levo","Align right":"Poravnava desno","Align table to the left":"","Align table to the right":"",Alignment:"",Aquamarine:"Akvamarin",Background:"","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"",Big:"Veliko",Black:"Črna","Block quote":"Blokiraj citat",Blue:"Modra","Blue marker":"Modra oznaka",Bold:"Krepko","Bold text":"",Border:"",Cancel:"Prekliči","Cell properties":"","Center table":"","Choose heading":"Izberi naslov",Clear:"","Click to edit block":"",Close:"","Close contextual balloons, dropdowns, and dialogs":"",Code:"Koda",Color:"","Color picker":"",Column:"","Content editing keystrokes":"",Dashed:"",Default:"Privzeto","Delete column":"","Delete row":"","Dim grey":"Temno siva",Dimensions:"","Document colors":"Barve dokumenta",Dotted:"",Double:"","Drag to move":"","Dropdown toolbar":"","Edit block":"","Editor block content toolbar":"","Editor contextual toolbar":"","Editor dialog":"","Editor editing area: %0":"","Editor toolbar":"","Enter table caption":"","Execute the currently focused button":"","Font Background Color":"Barva ozadja pisave","Font Color":"Barva pisave","Font Family":"Vrsta oz. tip pisave","Font Size":"Velikost pisave",Green:"Zelena","Green marker":"Zelena oznaka","Green pen":"Zeleno pisalo",Grey:"Siva",Groove:"","Header column":"","Header row":"",Heading:"Naslov","Heading 1":"Naslov 1","Heading 2":"Naslov 2","Heading 3":"Naslov 3","Heading 4":"Naslov 4","Heading 5":"Naslov 5","Heading 6":"Naslov 6",Height:"","Help Contents. To close this dialog press ESC.":"",HEX:"",Highlight:"Označi","Horizontal line":"Vodoravna črta","Horizontal text alignment toolbar":"",Huge:"Ogromno","Insert a new table row (when in the last cell of a table)":"","Insert column left":"","Insert column right":"","Insert row above":"","Insert row below":"","Insert table":"Vstavi tabelo",Inset:"",Italic:"Poševno","Italic text":"",Justify:"Postavi na sredino","Justify cell text":"","Keystrokes that can be used in a table cell":"","Light blue":"Svetlo modra","Light green":"Svetlo zelena","Light grey":"Svetlo siva","Merge cell down":"","Merge cell left":"","Merge cell right":"","Merge cell up":"","Merge cells":"","Move focus between form fields (inputs, buttons, etc.)":"","Move focus in and out of an active dialog window":"","Move focus to the toolbar, navigate between toolbars":"","Move out of an inline code style":"","Move the selection to the next cell":"","Move the selection to the previous cell":"","Navigate through the table":"","Navigate through the toolbar":"",Next:"","No results found":"","No searchable items":"",None:"","Open the accessibility help dialog":"",Orange:"Oranžna",Outset:"",Padding:"",Paragraph:"Odstavek","Pink marker":"Rožnata oznaka","Press %0 for help.":"",Previous:"",Purple:"Vijolična",Red:"Rdeča","Red pen":"Rdeče pisalo","Remove color":"Odstrani barvo","Remove highlight":"Odstrani oznako","Restore default":"","Rich Text Editor":"",Ridge:"",Row:"",Save:"Shrani","Select column":"","Select row":"","Show more items":"",Small:"Majhna",Solid:"","Split cell horizontally":"","Split cell vertically":"",Strikethrough:"Prečrtano","Strikethrough text":"",Style:"",Subscript:"Naročnik",Superscript:"Nadpis","Table alignment toolbar":"","Table cell text alignment":"","Table properties":"","Table toolbar":"","Text alignment":"Poravnava besedila","Text alignment toolbar":"Orodna vrstica besedila","Text highlight toolbar":"Orodna vrstica označevanja",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':"",'The value is invalid. Try "10px" or "2em" or simply "2".':"","These keyboard shortcuts allow for quick access to content editing features.":"",Tiny:"Drobna","Toggle caption off":"","Toggle caption on":"",Turquoise:"Turkizna","Type or paste your content here.":"Vnesi ali prilepi vsebino","Type your title":"Vnesi naslov",Underline:"Podčrtaj","Underline text":"","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"","User interface and content navigation keystrokes":"","Vertical text alignment toolbar":"",White:"Bela",Width:"",Yellow:"Rumena","Yellow marker":"Rumena oznaka"}),t.getPluralForm=function(e){return e%100==1?0:e%100==2?1:e%100==3||e%100==4?2:3}}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
||||
1
js/ckeditor/build/translations/sq.js
Normal file
1
js/ckeditor/build/translations/sq.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/sr-latn.js
Normal file
1
js/ckeditor/build/translations/sr-latn.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/sr.js
Normal file
1
js/ckeditor/build/translations/sr.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/sv.js
Normal file
1
js/ckeditor/build/translations/sv.js
Normal file
File diff suppressed because one or more lines are too long
1
js/ckeditor/build/translations/th.js
Normal file
1
js/ckeditor/build/translations/th.js
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user