[Vuejs]-CkEditor in vue js

0👍

I think that use of $(document).ready(function()... is the cause. Try using Vue’s mounted() method instead.

<script>
  mounted () {
    CKEDITOR.replace( 'content', {
      extraPlugins: 'mathjax',
      mathJaxLib: 'http://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?
      config=TeX-AMS_HTML',
      height: 320,
    } );
 }
</script>

Leave a comment