From 27aa06c17894741d790635443ad5f7ca688d0b3b Mon Sep 17 00:00:00 2001 From: saschaleib Date: Thu, 13 Apr 2023 16:13:14 +0200 Subject: [PATCH] Icon for DL in Menu --- action.php | 16 ++++++++-------- images/definition-list.svg | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 images/definition-list.svg diff --git a/action.php b/action.php index ba07922..5de6270 100644 --- a/action.php +++ b/action.php @@ -143,14 +143,6 @@ function handle_toolbar(Doku_Event $event, $param) { 'sample' => 'datetime' ), /* block-level elements: */ - array( - 'type' => 'format', - 'title' => $this->getLang('dl').': <𝚍𝚕>/<𝚍𝚝>/<𝚍𝚍>', - 'icon' => '../../plugins/adhoctags/images/definition-list.svg', - 'open' => '
\n
', - 'close' => '
\n
Description
\n
', - 'sample' => 'Term' - ), array( 'type' => 'format', 'title' => $this->getLang('section').': <𝚜𝚎𝚌𝚝𝚒𝚘𝚗>', @@ -183,6 +175,14 @@ function handle_toolbar(Doku_Event $event, $param) { 'close' => '\n', 'sample' => 'Article text' ), + array( + 'type' => 'format', + 'title' => $this->getLang('dl').': <𝚍𝚕>/<𝚍𝚝>/<𝚍𝚍>', + 'icon' => '../../plugins/adhoctags/images/definition-list.svg', + 'open' => '
\n
', + 'close' => '
\n
Description
\n
', + 'sample' => 'Term' + ), array( 'type' => 'format', 'title' => $this->getLang('address').': <𝚊𝚍𝚍𝚛𝚎𝚜𝚜>', diff --git a/images/definition-list.svg b/images/definition-list.svg new file mode 100644 index 0000000..8c5718b --- /dev/null +++ b/images/definition-list.svg @@ -0,0 +1 @@ + \ No newline at end of file