Closed thecodrr closed 8 months ago
in node_modules/@tiptap/core/dist/index.js
const liftEmptyBlock = () => ({ state, dispatch, editor }) => {
return liftEmptyBlock$1(state, (tr) => {
if (!dispatch) return true;
const { selection, storedMarks } = state;
const marks = storedMarks || (selection.$to.parentOffset && selection.$from.marks());
if (!marks) return dispatch(tr);
const { splittableMarks } = editor.extensionManager;
const filteredMarks = marks.filter((mark) =>
splittableMarks.includes(mark.type.name)
);
tr.ensureMarks(filteredMarks)
return dispatch(tr);
});
};
What happened?
It's not possible to exit out of a quote block by pressing Enter twice. In fact, only 1 Enter works and after that nothing happens no matter how many times you press Enter.
Steps to reproduce the problem
Version
v2.6.15
Platform/OS
Android, Chrome/Chromium, Firefox
Relevant log output
No response