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

TinyMCE not working on production #94

Open
ooduor opened this issue Dec 28, 2016 · 2 comments
Open

TinyMCE not working on production #94

ooduor opened this issue Dec 28, 2016 · 2 comments
Assignees
Labels

Comments

@ooduor
Copy link
Collaborator

ooduor commented Dec 28, 2016

Works fine on localhost:
localhost

Broken on production:
live

The deform snippet rendering tinyMCE:

    includes = [
        "page_title",
        "page_status",
        "parent",
        colander.SchemaNode(colander.String(),
                            name="page_content",
                            validator=validate_json,
                            widget=deform.widget.RichTextWidget(options=(('browser_spellcheck', True),
                                                                         ('images_reuse_filename', True),
                                                                         ('automatic_uploads', True),
                                                                         ('images_upload_url', 'uploads/rte_images'),
                                                                         ('selector', "textarea"),
                                                                         ('plugins', ("advlist autolink lists link image charmap print preview anchor", "searchreplace visualblocks code fullscreen", "insertdatetime media table contextmenu paste")),
                                                                         ('toolbar', 'insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image'),
                                                                         ('file_browser_callback', 'function(field_name, url, type, win) { win.document.getElementById(field_name).value = \'my browser value\';}'),
                                                                ),
                                                                css_class="editor")),

The 404 console errors on the live application show some plugin.js and theme.js not being found.

@mazz
Copy link
Contributor

mazz commented Jan 3, 2017

Looks like a path issue? Absolute vs relative or missing/extra '../' ?

@ericof ericof self-assigned this Mar 12, 2018
@ericof ericof added the bug label Mar 12, 2018
@ericof ericof added this to the 1.0a8 milestone Mar 13, 2018
@ericof ericof removed this from the 1.0a8 milestone Jun 28, 2018
@davidbcoulson
Copy link

no luck on this yet?

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

No branches or pull requests

4 participants