@@ -0,0 +1,620 @@
+package pro.simpleproject.core.helper;%0A%0Apublic class ScriptHelper %7B%0A%0A%09public static String FUNC = %22%3Cscript type=%5C%22text/javascript%5C%22%3Efunction insert(html) %7Bvar range, node;if (window.getSelection && window.getSelection().getRangeAt) %7Brange = window.getSelection().getRangeAt(0);node = range.createContextualFragment(html);range.insertNode(node);%7D else if (document.selection && document.selection.createRange) %7Bdocument.selection.createRange().pasteHTML(html);%7D%7D%3C/script%3E%22;%0A%0A%09public static String callFunc(String path) %7B%0A%09%09return %22insert('%3Cimg src=%5C%22file:/%22 + path + %22%5C%22 height=%5C%22100px%5C%22 width=%5C%22100px%5C%22%3E%3C/img%3E')%22;%0A%09%7D%0A%0A%7D%0A

Create ScriptHelper.java