Cory Forsyth
Cory Forsyth
A workaround is to detect when the activeSection `isNested`, and map its `parent.tagName`, e.g.: ``` let sections = editor.activeSections; let tagNames = sections.map(section => { return section.isNested ? section.parent.tagName :...
@martinklepsch Would it make more/equal sense for your use case if you could instead add a callback that is only triggered by deletion? I am not sure that deletion fits...
@mixonic The `onTextInput` was designed to fire only when adding/inputting text so I wouldn't call this a bug.
Thanks for the suggestion. I agree, this would be a nice improvement. There may be some challenges related to cursor-positioning in the editor (I expect a `` element in DOM...
@eguitarz See discussion in #342 for some additional context. Two of the goals of mobiledoc-kit are to a) have the mobiledoc format be flexible enough to be rendered in many...
There is some discussion in #450 also about allowing programmatic control of what the enter does in different contexts — that would probably be a useful pre-requisite for `pre`. >...
@StephanHoyer Thanks for reporting. This looks like it may be related to [an FF bug](https://bugzilla.mozilla.org/show_bug.cgi?id=911444) and/or [over-zealous same-origin policy protections](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Property_access_denied). Oddly, I am only to repro sporadically using your fiddle...
@raycohen and @part145pro Thanks for raising this issue. Does this screengrab from an emulator accurately show what you are seeing? I notice a few issues related to selection, and it...
@joshfrench This is very cool! Thanks for the suggestion — makes sense to me (for the next mobiledoc format version). I'm going to make a roll-up issue that captures ideas...
@StephanHoyer Thanks for this question. A Mobiledoc `Range` holds references (via its head and tail `Position`s) to existing sections in its internal `Post` data structure. That's why you can't use...