Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Tinymce Not working on production

    Bug Report
    2
    2
    170
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hedyd last edited by hedyd

      tinymce is not working on production site.

      I have found one thing that, under Admin folder, in webpack file when we do create build, using

      npm run dev
      

      it copy the build under

      vendor/webkul/admin/assets/

      But when we do this on production with

      npm run prod
      

      then creates it under Admin/publishable folder

      And in tinymce.blade.php the script has include from here

      <script src="{{ asset('vendor/webkul/admin/assets/js/tinymce/tinymce.min.js') }}"></script>
      

      So I think it is not searchable in case of production site.

      Should I add every script to Admin/publishable and call from there as it will be call from there in future? Or is any other way?

      Nam in quod velit ni

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        After running production, you need to publish the files also.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post