diff --git a/src/editor/serialize.js b/src/editor/serialize.js index 37565b64a0..cb06eede6c 100644 --- a/src/editor/serialize.js +++ b/src/editor/serialize.js @@ -56,15 +56,3 @@ export function textSerialize(model) { } }, ""); } - -export function requiresHtml(model) { - return model.parts.some(part => { - switch (part.type) { - case "room-pill": - case "user-pill": - return true; - default: - return false; - } - }); -}