mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
- 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:
@@ -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);
|
||||
};
|
||||
|
||||
@@ -28,7 +28,7 @@ if($jqueryui)
|
||||
$jqueryComposer = true;
|
||||
|
||||
if($jquery && $jqueryComposer)
|
||||
show_error("Two JQuery versions used: composer and includefolderversion");
|
||||
show_error("Two JQuery versions used: composer and include folder version");
|
||||
|
||||
?>
|
||||
<!DOCTYPE HTML>
|
||||
@@ -93,7 +93,7 @@ if($jquery && $jqueryComposer)
|
||||
<script type="text/javascript" src="<?php echo base_url('vendor/tinymce/tinymce/tinymce.min.js');?>"></script>
|
||||
<?php endif ?>
|
||||
<?php if($textile) : ?>
|
||||
<script type="text/javascript" src="<?php echo base_url('include/js/textile.min.js');?>"></script>
|
||||
<script type="text/javascript" src="<?php echo base_url('vendor/borgar/textile-js/lib/textile.min.js');?>"></script>
|
||||
<?php endif ?>
|
||||
<?php if($jsoneditor) : ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('vendor/jsoneditor/dist/jsoneditor.css');?>" />
|
||||
@@ -106,4 +106,4 @@ if($jquery && $jqueryComposer)
|
||||
<?php if($widgetsCSS) : ?>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('skin/widgets.css'); ?>" />
|
||||
<?php endif ?>
|
||||
</head>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user