Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The load failed for the <script> with source "http: // localhost:3000/assets/tinymce/themes/modern/ theme.js". #268

Open
Moriort opened this issue Feb 25, 2020 · 1 comment

Comments

@Moriort
Copy link

Moriort commented Feb 25, 2020

Ruby version: ruby 2.5.3p105 (2018-10-18 revision 65156) [i686-linux]
Rails version: Rails 5.2.4.1

I receive this message in the browser console and the textearea does not appear.

The load failed for the <script> with source "http: // localhost:3000/assets/tinymce/themes/modern/ theme.js".

in application.js

//= require tinymce

$(document).ready(function() {
  tinyMCE.init({
    selector: 'textarea',
    resize: 'none',
    plugins: 'advlist lists code autolink link image charmap print preview help table textcolor colorpicker',
    toolbar: 'numlist bullist undo redo | bold italic underline | code | forecolor backcolor',
    table_default_styles: {
      'border-collapsed': 'collapse',
      'width': '100%'
    },
    table_responsive_width: true,
    language: 'es'
  });
});

In form.html.erb
<%= form.text_area :mensaje %>

Before this did not happen, from one moment to another it stopped working and there are no more messages that can help me.

I received the same message using the activeadmin.

@affkjuhyt
Copy link

I same problem for Tinymce on ROR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants