Преглед на файлове

Updated editor, experimental

markseu преди 7 години
родител
ревизия
7b39eaa278
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      system/plugins/edit.js
  2. 1 1
      system/plugins/edit.php

+ 1 - 1
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;

+ 1 - 1
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