commit 7b39eaa278c849bc283313382c81a309cfd7b801
parent 3186556d8e0e055b4f958312808fb5c03779adb3
Author: markseu <mark2011@mayberg.se>
Date: Tue, 7 Aug 2018 20:39:04 +0200
Updated editor, experimental
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/system/plugins/edit.js b/system/plugins/edit.js
@@ -623,7 +623,7 @@ yellow.edit =
case "pre": yellow.editor.setMarkdown(elementText, "```\n", "insert-fenced-block", true); break;
case "bold": yellow.editor.setMarkdown(elementText, "**", "insert-inline", true); break;
case "italic": yellow.editor.setMarkdown(elementText, "*", "insert-inline", true); break;
- case "strikethrough": yellow.editor.setMarkdown(elementText, "~", "insert-inline", true); break;
+ case "strikethrough": yellow.editor.setMarkdown(elementText, "~~", "insert-inline", true); break;
case "code": yellow.editor.setMarkdown(elementText, "`", "insert-autodetect", true); break;
case "ul": yellow.editor.setMarkdown(elementText, "* ", "insert-multiline-block", true); break;
case "ol": yellow.editor.setMarkdown(elementText, "1. ", "insert-multiline-block", true); break;
diff --git a/system/plugins/edit.php b/system/plugins/edit.php
@@ -5,7 +5,7 @@
class YellowEdit
{
- const VERSION = "0.7.25";
+ const VERSION = "0.7.26";
var $yellow; //access to API
var $response; //web response
var $users; //user accounts