Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export toggleLink #491

Merged
merged 6 commits into from
Sep 9, 2016
Merged

Export toggleLink #491

merged 6 commits into from
Sep 9, 2016

Conversation

joshfrench
Copy link
Contributor

[re: #485] Makes Mobiledoc.UI.toggleLink a public function so that alternate editor kits can reuse and/or customize the core URL prompt. (I18n, anyone?)

Incidentally extracts renderIntoAndFocusTail into test-helpers as it was duplicated across several files.

@bantic
Copy link
Collaborator

bantic commented Sep 9, 2016

Thanks @joshfrench this is excellent. Thanks for adding the thorough jsdoc, as well!

@bantic bantic merged commit 3335357 into bustle:master Sep 9, 2016
@bantic
Copy link
Collaborator

bantic commented Sep 13, 2016

released in v0.10.10. thanks @joshfrench !

johnelliott pushed a commit to dailybeast/mobiledoc-kit that referenced this pull request Feb 7, 2017
* WIP: expose `toggleLink` as public method

* Object.keys flunks outside of browser env

* Unit tests for UI.toggleLink

* Export UI for reuse by editor kits

* DRY up renderIntoAndFocusTail

* Document UI.toggleLink
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.

None yet

2 participants