mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
88da7bc335
refs https://github.com/TryGhost/Ghost/issues/8157 Currently mobiledoc-kit doesn't allow the inserting or replacing of a list item with a card. There is a solution that works toggling the section to a `p` then replacing the section, however there are issues with the mobiledoc range object becoming out of sync and the workarounds for that are too hacky. We need to update mobiledoc to deal with this usecase (although the way that ranges are handled during undo might also be an option worth exploring), but for now we'll simply insert a card at the bottom of the list which is unfortunately different behaviour from any other block. |
||
---|---|---|
.. | ||
asset-delivery | ||
gh-koenig |