silverwolf-x's picture
download
raw
282 Bytes
const withLabel = (incomingEditor) => {
const editor = incomingEditor;
const { shouldBreakOutOnEnter } = editor;
editor.shouldBreakOutOnEnter = (element) =>
element.type === "label" ? true : shouldBreakOutOnEnter(element);
return editor;
};
export default withLabel;

Xet Storage Details

Size:
282 Bytes
·
Xet hash:
c3bfdaa6242088284caba8d17a381280b6499581d2ecbf489c090dc709da29bf

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.