Skip to content

Revert "Single TinyMCE: Drop window element global" - #169

Merged
aduth merged 1 commit into
masterfrom
revert-168-update/single-remove-window-element
Mar 2, 2017
Merged

aduth merged 1 commit into
masterfrom
revert-168-update/single-remove-window-element

Conversation

@aduth

@aduth aduth commented Mar 2, 2017

Copy link
Copy Markdown
Member

Reverts #168

A little more complex than anticipated, because window.element was assigning from ancestor chain of NodeChange, not necessarily the currently selected element. Might be a matter of using a combination of getSelectedBlocks and traversing parentNode chain, but we'll need to consider how this works with multi-select.

cc @iseulde

@aduth
aduth merged commit 2855d14 into master Mar 2, 2017
@aduth
aduth deleted the revert-168-update/single-remove-window-element branch March 2, 2017 16:47
nylen pushed a commit that referenced this pull request Mar 16, 2017
…e-window-element

Revert "Single TinyMCE: Drop window element global"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant