Giter VIP home page Giter VIP logo

Comments (4)

kyestork avatar kyestork commented on September 24, 2024

+1 Having the same issue. Build 252.

from oc-wysiwyg-editors.

ar7n avatar ar7n commented on September 24, 2024

+1

from oc-wysiwyg-editors.

jbrown8181 avatar jbrown8181 commented on September 24, 2024

+1

I will try to have a look this in more detail later in the week.

from oc-wysiwyg-editors.

taviroquai avatar taviroquai commented on September 24, 2024

Hi,

I did some investigation on this and found 2 problems:

  1. Ajax response (json) returns a key (X_OCTOBER_ASSETS) but only with assets from component. The component is using addJs which uses Trait AssetMaker. This addJs moves the asset to the controller assets, but these are not return.
  2. Even hacking it using $this->assets['js'][] = ['path' => $jsPath], makes the asset to be returned on X_OCTOBER_ASSETS, but even so, the asset is not loaded BEFORE the call to, ie., tinymce.

I'm a noob on OC so could not see further...

Ok... it seems better to load the assets using just javascript...

from oc-wysiwyg-editors.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.