0

我无法在我的页面上运行bootstrap-wysihtml5编辑器,这是我的 html 标记:

<h3 class='sectname'>Message</h3>
    <div class='row-fluid'>
        <div class='span12'>
            <textarea name='message' id='message' rows="5" placeholder='Your Message'> </textarea>
        </div>
    </div>

我已经包括了css和js:

<link rel="stylesheet" type="text/css" href="<?php echo $siteurl.'/min/?g=css_m&amp;5259487' ?>"/>

<script type="text/javascript"  src="<?php echo $siteurl.'/min/?g=js_i&amp;5259487' ?>"></script>
<script type="text/javascript"  src="<?php echo $siteurl.'/min/?g=js_m&amp;5259487' ?>"></script>

我正在使用缩小,这些是文件:

'css_m' => array('//css/bootstrap-wysihtml5.css'),
'js_i' => array('//js/jquery-1.10.2.js','//js/bootstrap.min.js','//js/noty/jquery.noty.js','//js/noty/layouts/top.js','//js/noty/themes/default.js','//js/jquery.nimble.loader.js'),
'js_m' => array('//js/wysihtml5-0.3.0.min.js','//js/bootstrap-wysihtml5.js'),

最后我初始化它:

$("#message").wysihtml5(); 

但是我无法让它工作

4

0 回答 0