CKEDITOR:如果我传递textarea的内容,我有一个表单和textarea(替换为ckeditor)我如何得到wordcount值?我在ckeditor中使用wordcount插件。谢谢
//how do i store the wordcount?
CKEDITOR.replace('textarea', {
extraPlugins: 'wordcount,justify'
});
//how do i get the wordcount ?
<?= form_input($title,set_value('title')) . "</br>"; ?>
<textarea name="textarea" id="text" required></textarea>
<?= form_close(); ?>
//in php $text = $this->input->post('textarea'); //$textwordcount = wordcount of the textarea;
答案 0 :(得分:0)
也许你可以使用我的技巧
headerA+Standalone.h