Import polyfills directly in this repo (used to be imported from custom-elements)
OK, so what the heck is this all about?
Following the path of dropping all previous versions of PHP (<7.0), this PR is enabling the use of modern Javascript, AKA ES6, in the core. The usage of ES6 ATM is only possible through custom elements
Pros
Project moves nicely along the major shifts in the javascript community
Code is simpler and thus probably less bugy
Cons
Since IE11 is still alive, a transpiled ES5 script is needed
The workflow for patching a bug get's one more step, compiling the js, think along the lines of LESS and SCSS. So if for css that is acceptable, I really don't see the reason JS will be an exception
Testing Instructions
Apply the patch:
Edit an article, go to Images and Links tab and try inserting an image for intro and full page.
Expected result
Actual result
Documentation Changes Required
The creating a PR documentation needs to be updated.
PS Added one check in tabs-state.js to stop Firefox failing
@wilsonge can you merge this one?
This PR brings the src code of the media field that we're using and already merged through the new media manager branch
@wilsonge can you merge this one?
This PR brings the src code of the media field that we're using and already merged through the new media manager branch