Added Text Decoration options
This commit is contained in:
6
src/editor/images/text_decoration_linethrough.svg
Normal file
6
src/editor/images/text_decoration_linethrough.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<svg width="31" height="28" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<!-- Created with SVG-edit - https://github.com/SVG-Edit/svgedit-->
|
||||
<text fill="#000000" font-family="serif" font-size="24" id="svg_1" stroke="#000000" stroke-width="0" text-anchor="middle" text-decoration="0" x="16" xml:space="preserve" y="21.5">ab</text>
|
||||
<line fill="none" id="svg_2" stroke="#f9bc01" stroke-width="2" x1="1" x2="29.70526" y1="14" y2="14"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 497 B |
6
src/editor/images/text_decoration_overline.svg
Normal file
6
src/editor/images/text_decoration_overline.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<svg width="31" height="28" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<!-- Created with SVG-edit - https://github.com/SVG-Edit/svgedit-->
|
||||
<text fill="#000000" font-family="serif" font-size="24" id="svg_1" stroke="#000000" stroke-width="0" text-anchor="middle" text-decoration="0" x="16" xml:space="preserve" y="21.5">ab</text>
|
||||
<line fill="none" id="svg_2" stroke="#f9bc01" stroke-width="2" x1="1" x2="29.70526" y1="2" y2="2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 495 B |
6
src/editor/images/text_decoration_underline.svg
Normal file
6
src/editor/images/text_decoration_underline.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<svg width="31" height="28" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<!-- Created with SVG-edit - https://github.com/SVG-Edit/svgedit-->
|
||||
<text fill="#000000" font-family="serif" font-size="24" id="svg_1" stroke="#000000" stroke-width="0" text-anchor="middle" text-decoration="0" x="16" xml:space="preserve" y="21.5">ab</text>
|
||||
<line fill="none" id="svg_2" stroke="#f9bc01" stroke-width="2" x1="1" x2="29.70526" y1="24" y2="24"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 497 B |
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Lettertipe verander Familie',
|
||||
font_size: 'Verandering Lettertipe Grootte',
|
||||
bold: 'Vetgedrukte teks',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'تغيير الخط الأسرة',
|
||||
font_size: 'تغيير حجم الخط',
|
||||
bold: 'نص جريء',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'مائل نص',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Change Font Family',
|
||||
font_size: 'Change Font Size',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Змены Сямейства шрыфтоў',
|
||||
font_size: 'Змяніць памер шрыфта',
|
||||
bold: 'Тоўсты тэкст',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Нахілены тэкст',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Промяна на шрифта Семейство',
|
||||
font_size: 'Промени размера на буквите',
|
||||
bold: 'Получер текст',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Курсив текст',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Canviar la font Família',
|
||||
font_size: 'Change Font Size',
|
||||
bold: 'Text en negreta',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Text en cursiva',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Změnit font',
|
||||
font_size: 'Změnit velikost písma',
|
||||
bold: 'Tučně',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Kurzíva',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Newid Font Teulu',
|
||||
font_size: 'Newid Maint Ffont',
|
||||
bold: 'Testun Bras',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italig Testun',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -72,6 +72,9 @@ export default {
|
||||
font_family: 'Skift Font Family',
|
||||
font_size: 'Skift skriftstørrelse',
|
||||
bold: 'Fed tekst',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Schriftart wählen',
|
||||
font_size: 'Schriftgröße einstellen',
|
||||
bold: 'Fetter Text',
|
||||
text_decoration_underline: 'Unterstrichen',
|
||||
text_decoration_linethrough: 'Durchgestrichen',
|
||||
text_decoration_overline: 'Überstrichen',
|
||||
italic: 'Kursiver Text',
|
||||
text_anchor_start: 'Den Text linksbündig ausrichten',
|
||||
text_anchor_middle: 'Den Text zentriert ausrichten',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Αλλαγή γραμματοσειράς Οικογένεια',
|
||||
font_size: 'Αλλαγή μεγέθους γραμματοσειράς',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Πλάγιους',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -74,6 +74,9 @@ export default {
|
||||
font_family: 'Change Font Family',
|
||||
font_size: 'Change Font Size',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Tipo de fuente',
|
||||
font_size: 'Tamaño de la fuente',
|
||||
bold: 'Texto en negrita',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Texto en cursiva',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Muutke Kirjasinperhe',
|
||||
font_size: 'Change font size',
|
||||
bold: 'Rasvane kiri',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Kursiiv',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'تغییر خانواده قلم',
|
||||
font_size: 'تغییر اندازه قلم',
|
||||
bold: 'متن توپر ',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'متن کج ',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Muuta Font Family',
|
||||
font_size: 'Muuta fontin kokoa',
|
||||
bold: 'Lihavoitu teksti',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Kursivoitu',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Changer la famille de police',
|
||||
font_size: 'Changer la taille de la police',
|
||||
bold: 'Texte en gras',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Texte en italique',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Lettertype oanpasse',
|
||||
font_size: 'Lettergrutte oanpasse',
|
||||
bold: 'Fet',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Skean',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Athraigh an Cló Teaghlaigh',
|
||||
font_size: 'Athraigh Clómhéid',
|
||||
bold: 'Trom Téacs',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Iodálach Téacs',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Cambiar fonte Familia',
|
||||
font_size: 'Mudar tamaño de letra',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Texto en cursiva',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'שינוי גופן משפחה',
|
||||
font_size: 'שנה גודל גופן',
|
||||
bold: 'טקסט מודגש',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'טקסט נטוי',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'बदलें फ़ॉन्ट परिवार',
|
||||
font_size: 'फ़ॉन्ट का आकार बदलें',
|
||||
bold: 'मोटा पाठ',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'इटैलिक पाठ',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -72,6 +72,9 @@ export default {
|
||||
font_family: 'Promjena fontova',
|
||||
font_size: 'Change font size',
|
||||
bold: 'Podebljani tekst',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Change Betűcsalád',
|
||||
font_size: 'Change font size',
|
||||
bold: 'Félkövér szöveg',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Dőlt szöveg',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family_label: 'Font:',
|
||||
font_size: 'Change Font Size',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family_label: 'Font:',
|
||||
font_size: 'Ubah Ukuran Font',
|
||||
bold: 'Bold Teks',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Teks',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Change Leturfjölskylda',
|
||||
font_size: 'Breyta leturstærð',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Cambia il tipo di Font',
|
||||
font_size: 'Modifica dimensione carattere',
|
||||
bold: 'Grassetto',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Corsivo',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'フォントファミリーの変更',
|
||||
font_size: '文字サイズの変更',
|
||||
bold: '太字',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'イタリック体',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: '글꼴 변경 패밀리',
|
||||
font_size: '글꼴 크기 변경',
|
||||
bold: '굵은 텍스트',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: '기울임꼴 텍스트',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Pakeistišriftą Šeima',
|
||||
font_size: 'Change font size',
|
||||
bold: 'Pusjuodis',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Kursyvas',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Mainīt fonta Family',
|
||||
font_size: 'Mainīt fonta izmēru',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Kursīvs',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Смени фонт Фамилија',
|
||||
font_size: 'Изменифонт Големина',
|
||||
bold: 'Задебелен текст',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic текст',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Tukar Font Keluarga',
|
||||
font_size: 'Ubah Saiz Font',
|
||||
bold: 'Bold Teks',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Teks',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Bidla Font Familja',
|
||||
font_size: 'Change font size',
|
||||
bold: 'Bold Test',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Test korsiv',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Verander lettertype',
|
||||
font_size: 'Verander lettertype grootte',
|
||||
bold: 'Vet',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Cursief',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Change Font Family',
|
||||
font_size: 'Endre skriftstørrelse',
|
||||
bold: 'Fet tekst',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Kursiv tekst',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -74,6 +74,9 @@ export default {
|
||||
font_family: 'Zmień krój czcionki',
|
||||
font_size: 'Zmień rozmiar czcionki',
|
||||
bold: 'Pogrubienie textu',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Kursywa',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Mudar o estilo da fonte',
|
||||
font_size: 'Mudar o tamanho da fonte',
|
||||
bold: 'Negrito',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italico',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Alterar fonte Família',
|
||||
font_size: 'Alterar tamanho de letra',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Texto em itálico',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Modificare familie de fonturi',
|
||||
font_size: 'Schimbă dimensiunea fontului',
|
||||
bold: 'Text Îngroşat',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Text Înclinat',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Изменить семейство шрифтов',
|
||||
font_size: 'Изменить размер шрифта',
|
||||
bold: 'Жирный',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Курсив',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Zmeniť font',
|
||||
font_size: 'Zmeniť veľkosť písma',
|
||||
bold: 'Tučné',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Kurzíva',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Spremeni tip pisave',
|
||||
font_size: 'Spremeni velikost pisave',
|
||||
bold: 'Krepko',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Poševno',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Ndryshimi Font Family',
|
||||
font_size: 'Ndryshimi Font Size',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Цханге фонт породицу',
|
||||
font_size: 'Цханге фонт сизе',
|
||||
bold: 'Подебљан текст',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Италиц текст',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Ändra Typsnitt',
|
||||
font_size: 'Ändra textstorlek',
|
||||
bold: 'Fet text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Kursiv text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Change font Family',
|
||||
font_size: 'Change font Size',
|
||||
bold: 'Bold Nakala',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italiki Nakala',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Change Font Family',
|
||||
font_size: 'Change Font Size',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'ครอบครัว Change Font',
|
||||
font_size: 'เปลี่ยนขนาดตัวอักษร',
|
||||
bold: 'ข้อความตัวหนา',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'ข้อความตัวเอียง',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Baguhin ang Pamilya ng Font',
|
||||
font_size: 'Baguhin ang Laki ng Font',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Font değiştir Aile',
|
||||
font_size: 'Change font size',
|
||||
bold: 'Kalın Yazı',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italik yazı',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Зміни Сімейство шрифтів',
|
||||
font_size: 'Змінити розмір шрифту',
|
||||
bold: 'Товстий текст',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Похилий текст',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'Thay đổi Font Gia đình',
|
||||
font_size: 'Thay đổi cỡ chữ',
|
||||
bold: 'Bold Text',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'Italic Text',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: 'ענדערן פאָנט פאַמילי',
|
||||
font_size: 'בייטן פאָנט גרייס',
|
||||
bold: 'דרייסט טעקסט',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: 'יטאַליק טעקסט',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: '更改字体样式',
|
||||
font_size: '更改字体大小',
|
||||
bold: '粗体',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: '斜体',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: '更改字体家族',
|
||||
font_size: '更改字体大小',
|
||||
bold: '粗体',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: '斜体文本',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -73,6 +73,9 @@ export default {
|
||||
font_family: '更改字體',
|
||||
font_size: '更改字體大小',
|
||||
bold: '粗體',
|
||||
text_decoration_underline: 'Underline',
|
||||
text_decoration_linethrough: 'Line-Through',
|
||||
text_decoration_overline: 'Overline',
|
||||
italic: '斜體',
|
||||
text_anchor_start: 'Align the text in start',
|
||||
text_anchor_middle: 'Align the text in middle',
|
||||
|
||||
@@ -129,8 +129,13 @@
|
||||
</se-spin-input>
|
||||
</div>
|
||||
<div class="text_panel">
|
||||
<!-- Text styles -->
|
||||
<se-button id="tool_bold" title="properties.bold" src="bold.svg" shortcut="B"></se-button>
|
||||
<se-button id="tool_italic" title="properties.italic" src="italic.svg" shortcut="I"></se-button>
|
||||
<se-button id="tool_text_decoration_underline" title="properties.text_decoration_underline" src="text_decoration_underline.svg"></se-button>
|
||||
<se-button id="tool_text_decoration_linethrough" title="properties.text_decoration_linethrough" src="text_decoration_linethrough.svg"></se-button>
|
||||
<se-button id="tool_text_decoration_overline" title="properties.text_decoration_overline" src="text_decoration_overline.svg"></se-button>
|
||||
|
||||
<!-- Font Size-->
|
||||
<se-select id="tool_font_family" label="properties.font_family_label"
|
||||
options="properties.serif,properties.sans_serif,properties.cursive,properties.fantasy,properties.monospace,properties.courier,properties.helvetica,properties.times"
|
||||
@@ -144,6 +149,7 @@
|
||||
<se-list-item id="tool_text_anchor_middle" value="middle" title="properties.text_anchor_middle" src="anchor_middle.svg" img-height="25px"></se-list-item>
|
||||
<se-list-item id="tool_text_anchor_end" value="end" title="properties.text_anchor_end" src="anchor_end.svg" img-height="25px"></se-list-item>
|
||||
</se-list>
|
||||
|
||||
</div>
|
||||
<!-- Not visible, but still used -->
|
||||
<input id="text" type="text" size="35"/>
|
||||
|
||||
@@ -352,6 +352,9 @@ class TopPanel {
|
||||
this.displayTool('text_panel')
|
||||
$id('tool_italic').pressed = this.editor.svgCanvas.getItalic()
|
||||
$id('tool_bold').pressed = this.editor.svgCanvas.getBold()
|
||||
$id('tool_text_decoration_underline').pressed = this.editor.svgCanvas.hasTextDecoration('underline')
|
||||
$id('tool_text_decoration_linethrough').pressed = this.editor.svgCanvas.hasTextDecoration('line-through')
|
||||
$id('tool_text_decoration_overline').pressed = this.editor.svgCanvas.hasTextDecoration('overline')
|
||||
$id('tool_font_family').setAttribute('value', elem.getAttribute('font-family'))
|
||||
$id('tool_text_anchor').setAttribute('value', elem.getAttribute('text-anchor'))
|
||||
$id('font_size').value = elem.getAttribute('font-size')
|
||||
@@ -744,6 +747,22 @@ class TopPanel {
|
||||
return false
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles the click on the text decoration buttons
|
||||
*
|
||||
* @param value The text decoration value
|
||||
* @returns {boolean} false
|
||||
*/
|
||||
clickTextDecoration(value) {
|
||||
if(this.editor.svgCanvas.hasTextDecoration(value)) {
|
||||
this.editor.svgCanvas.removeTextDecoration(value)
|
||||
} else {
|
||||
this.editor.svgCanvas.addTextDecoration(value)
|
||||
}
|
||||
this.updateContextPanel();
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the text anchor value
|
||||
*
|
||||
@@ -869,6 +888,9 @@ class TopPanel {
|
||||
$id('tool_ungroup').addEventListener('click', this.clickGroup.bind(this))
|
||||
$id('tool_bold').addEventListener('click', this.clickBold.bind(this))
|
||||
$id('tool_italic').addEventListener('click', this.clickItalic.bind(this))
|
||||
$id('tool_text_decoration_underline').addEventListener('click', () => this.clickTextDecoration.bind(this)('underline'))
|
||||
$id('tool_text_decoration_linethrough').addEventListener('click', () => this.clickTextDecoration.bind(this)('line-through'))
|
||||
$id('tool_text_decoration_overline').addEventListener('click', () => this.clickTextDecoration.bind(this)('overline'))
|
||||
$id('tool_text_anchor').addEventListener('change', (evt) => this.clickTextAnchor.bind(this)(evt))
|
||||
$id('tool_unlink_use').addEventListener('click', this.clickGroup.bind(this))
|
||||
$id('image_url').addEventListener('change', (evt) => { this.setImageURL(evt.currentTarget.value) });
|
||||
|
||||
Reference in New Issue
Block a user