Skip to content

Use html instead of body - #2913

Closed
nazar-pc wants to merge 1 commit into
tinymce:masterfrom
nazar-pc:body-to-html
Closed

nazar-pc wants to merge 1 commit into
tinymce:masterfrom
nazar-pc:body-to-html

Conversation

@nazar-pc

Copy link
Copy Markdown
Contributor

This doesn't cause any issues and have the same specificity, but might be useful in certain scenarios.

My use case that is solved by this change

I'm creating modal on page and placing TinyMCE instance inside of it. The trick is that modal itself is in html root and body on background is blurred. In order to make TinyMCE's modals working I did following in runtime:

tinymce.ui.Control.prototype.getContainerElm = function () { return document.children[0]; };

Simple yet efficient, but now that one selector I've edited cause issue with position of various elements inside TinyMCE's modal.

@nazar-pc

nazar-pc commented Jun 8, 2016

Copy link
Copy Markdown
Contributor Author

@spocke, any objections here?

@nazar-pc

Copy link
Copy Markdown
Contributor Author

Ping here, really trivial change

@fyrkant

fyrkant commented Jan 22, 2018

Copy link
Copy Markdown

The TinyMCE source code has been converted to TypeScript which makes this PR impossible to merge, so I am closing it. Please open up a new PR written in TypeScript if you want us to take a look at it again.

@fyrkant fyrkant closed this Jan 22, 2018
@nazar-pc

Copy link
Copy Markdown
Contributor Author

This commit doesn't touch any JavaScript/TypeScript code! Why is this closed?

@fyrkant fyrkant reopened this Jan 22, 2018
…the same specificity, but might be useful in certain scenarios
@nazar-pc

Copy link
Copy Markdown
Contributor Author

Rebased against master

spocke pushed a commit that referenced this pull request Apr 18, 2018
…and have the same specificity, but might be useful in certain scenarios
spocke pushed a commit that referenced this pull request Apr 18, 2018
* commit 'f054ab764869e000d581a3cb0bc4a65b59c23f34':
  GH-2913: Use `html` instead of `body`; this doesn't cause any issues and have the same specificity, but might be useful in certain scenarios
@spocke

spocke commented Apr 18, 2018

Copy link
Copy Markdown
Member

This is now manually merged.

@spocke spocke closed this Apr 18, 2018
@nazar-pc
nazar-pc deleted the body-to-html branch April 18, 2018 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants