- beautified composer.json

- added borgar/textile-js to composer requirements (composer.json)
- removed textile.min.js from include directory
- replaced old textile js path with the new one in header.php
- changed the call of js textile in application/views/system/phraseinhaltEdit.php
This commit is contained in:
Paolo
2017-08-25 11:27:41 +02:00
parent d1fa93a2b6
commit 921bdd1242
4 changed files with 117 additions and 110 deletions
@@ -91,12 +91,12 @@ function initTextile() {
// use a simple timer to check if the textarea content has changed
var value = $content.val();
$preview.html(textile.convert(value));
$preview.html(textile.parse(value));
setInterval(function () {
var newValue = $content.val();
if (value != newValue) {
value = newValue;
$preview.html(textile.convert(newValue)); // convert the textile to html
$preview.html(textile.parse(newValue)); // convert the textile to html
}
}, 500);
};