Skip to content

Commit

Permalink
Try removing TinyMCE initialization hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed Jun 12, 2017
1 parent 52d497a commit 65dafee
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions bootstrap-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@ global.document = dom.window.document;
global.navigator = dom.window.navigator;
global.requestAnimationFrame = window.setTimeout;

// These are necessary to load TinyMCE successfully
global.URL = window.URL;
global.window.tinyMCEPreInit = {
// Without this, TinyMCE tries to determine its URL by looking at the
// <script> tag where it was loaded from, which of course fails here.
baseURL: 'about:blank',
};

global.window._wpDateSettings = {
formats: {
date: 'j F Y',
Expand Down

0 comments on commit 65dafee

Please sign in to comment.