This reverts commit ef1c8430fde8a41abba10aafb202d1d796a91000.
@@ -89,7 +89,7 @@ class MarkdownTableUtil {
*/
getMarkdownTable(editor) {
if (!this.isInTable(editor)) {
- return;
+ return null;
}
const strFromBotToEot = editor.state.sliceDoc(this.getBot(editor), this.getEot(editor));