MDL-58581 editor_atto: change paragraph icon.
authorSanya Negi <sanyanegi99@gmail.com>
Sun, 10 Mar 2019 09:33:23 +0000 (10:33 +0100)
committerLuca Bösch <luca.boesch@bfh.ch>
Wed, 24 Apr 2019 15:55:51 +0000 (17:55 +0200)
lib/classes/output/icon_system_fontawesome.php
lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button-debug.js
lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button-min.js
lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button.js
lib/editor/atto/plugins/title/yui/src/button/js/button.js
pix/e/styleparagraph.png [new file with mode: 0644]
pix/e/styleparagraph.svg [new file with mode: 0644]

index cd744d8..249961e 100644 (file)
@@ -156,7 +156,7 @@ class icon_system_fontawesome extends icon_system_font {
             'core:e/spellcheck' => 'fa-check',
             'core:e/split_cells' => 'fa-columns',
             'core:e/strikethrough' => 'fa-strikethrough',
-            'core:e/styleprops' => 'fa-info',
+            'core:e/styleparagraph' => 'fa-font',
             'core:e/subscript' => 'fa-subscript',
             'core:e/superscript' => 'fa-superscript',
             'core:e/table_props' => 'fa-table',
index d125c8c..818a5e3 100644 (file)
Binary files a/lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button-debug.js and b/lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button-debug.js differ
index 82eccb8..8658009 100644 (file)
Binary files a/lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button-min.js and b/lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button-min.js differ
index d125c8c..818a5e3 100644 (file)
Binary files a/lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button.js and b/lib/editor/atto/plugins/title/yui/build/moodle-atto_title-button/moodle-atto_title-button.js differ
index 80bfad1..d2d9027 100644 (file)
@@ -65,7 +65,7 @@ Y.namespace('M.atto_title').Button = Y.Base.create('button', Y.M.editor_atto.Edi
             });
         });
         this.addToolbarMenu({
-            icon: 'e/styleprops',
+            icon: 'e/styleparagraph',
             globalItemConfig: {
                 callback: this._changeStyle
             },
diff --git a/pix/e/styleparagraph.png b/pix/e/styleparagraph.png
new file mode 100644 (file)
index 0000000..785027f
Binary files /dev/null and b/pix/e/styleparagraph.png differ
diff --git a/pix/e/styleparagraph.svg b/pix/e/styleparagraph.svg
new file mode 100644 (file)
index 0000000..8ead5f5
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 448 512"><path d="M432 416h-26.7L275.5 42.7c-2.2-6.4-8.3-10.7-15.1-10.7h-72.8c-6.8 0-12.9 4.3-15.1 10.7L42.7 416H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h136c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16h-24l26.6-80.8h138.2l26.6 80.8H296c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h136c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM174.4 268.3l42-124.1c4.3-15.2 6.6-28.2 7.6-34.6.8 6.5 2.9 19.5 7.7 34.7l41.3 124z" fill="#999"/></svg>
\ No newline at end of file