javascript - Installation tinymce in zend application -
i'm noob jquery. try install plugin tinymce on zend application.
in header of page put:
<?php $this->headscript()->appendfile('/js/jquery-1.9.1.js'); $this->headscript()->appendfile('/js/tinymce.min.js'); ?> <script type="text/javascript"> tinymce.init({ selector:'textarea#content-post' }); </script>
(as indicated on model official website tinymce)
but in firebug console have:
syntaxerror: syntax error <!doctype html> tinymce.min.js (ligne 8) typeerror: l not constructor tinymce.min.js (ligne 8)
do know why have error please?
Comments
Post a Comment