Skip to content
This repository was archived by the owner on Jul 14, 2022. It is now read-only.
This repository was archived by the owner on Jul 14, 2022. It is now read-only.

Wrong assets path #83

@bonekost

Description

@bonekost

Hey,
I think this is tinymce.js problem, but if you got some workaround I would be thankfull

I got tinymce editor in view which is located in:
admin/blog_entries/:id/edit

When I try to upload pic I got this in editor:
<img src="/assets/blog_entry_images/283/large/xy.jpg?1486844369" alt="" width="640" height="300" data-mce-src="../../../assets/blog_ent.../>

when I save blog_entry to DB and then show it in frontend which is located at:
blog/2017/01/24/blog_entry_id

Picture doesn't show because link is: <img src="blog/assets/blog_entry_images/283/large/xy.jpg?1486844369">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions