Skip to content

Commit

Permalink
Trumbowyg 2.25.2 (#12182)
Browse files Browse the repository at this point in the history
  • Loading branch information
agriffard authored Aug 30, 2022
1 parent 1d8ce29 commit 68a2b45
Show file tree
Hide file tree
Showing 71 changed files with 2,305 additions and 2,449 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
errFileReaderNotSupported: 'FileReader is not supported by your browser.',
errInvalidImage: 'Invalid image file.'
},
by: {
base64: 'Выява (фармат base64)',
file: 'Файл',
errFileReaderNotSupported: 'FileReader не падтрымліваецца вашым браўзэрам.',
errInvalidImage: 'Несапраўдны файл выявы.'
},
cs: {
base64: 'Vložit obrázek',
file: 'Soubor'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
foreColorRemove: 'Remove text color',
backColorRemove: 'Remove background color'
},
by: {
foreColor: 'Колер тэксту',
backColor: 'Колер фону тэксту',
foreColorRemove: 'Выдаліць колер тэксту',
backColorRemove: 'Выдаліць колер фону тэксту'
},
cs: {
foreColor: 'Barva textu',
backColor: 'Barva pozadí'
Expand Down Expand Up @@ -70,7 +76,9 @@
},
ru: {
foreColor: 'Цвет текста',
backColor: 'Цвет выделения текста'
backColor: 'Цвет выделения текста',
foreColorRemove: 'Очистить цвет текста',
backColorRemove: 'Очистить цвет выделения текста'
},
sk: {
foreColor: 'Farba textu',
Expand Down Expand Up @@ -107,6 +115,9 @@
return 'transparent';
} else {
rgb = rgb.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d?(.\d+)))?\)$/);
if (rgb == null) {
return 'transparent'; // No match, return transparent as unkown color
}
return hex(rgb[1]) + hex(rgb[2]) + hex(rgb[3]);
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
/**
* Trumbowyg v2.25.1 - A lightweight WYSIWYG editor
* Default stylesheet for Trumbowyg editor plugin
* ------------------------
* @link http://alex-d.github.io/Trumbowyg
* @license MIT
* @author Alexandre Demode (Alex-D)
* Twitter : @AlexandreDemode
* Website : alex-d.fr
*/

.trumbowyg-dropdown-foreColor:not(.trumbowyg-dropdown--color-list),
.trumbowyg-dropdown-backColor:not(.trumbowyg-dropdown--color-list) {
max-width: 276px;
Expand Down
Loading

0 comments on commit 68a2b45

Please sign in to comment.