bustle / mobiledoc-kit

A toolkit for building WYSIWYG editors with Mobiledoc
https://bustle.github.io/mobiledoc-kit/demo/
MIT License
1.55k stars 151 forks source link

unlinking should not prompt for url #295

Closed bantic closed 8 years ago

bantic commented 8 years ago

When selecting linked text and unlinking (type cmd-K or click "link" button), the editor prompts for a url that is subsequently ignored. The editor should unlink the text without showing a prompt.

mixonic commented 8 years ago

I cannot find an issue for it, but I think this should likely be solved in https://github.com/bustlelabs/ember-mobiledoc-editor

bantic commented 8 years ago

@mixonic The link button from ember-mobiledoc-editor does the correct behavior (it unlinks when the selected text is a link). This appears to be limited to mobiledoc-kit's "cmd-K" key command.