Fix importing

This commit is contained in:
J. Ryan Stinnett 2021-05-10 16:55:27 +01:00
parent f41fc7e46c
commit 9c8e89ff79
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ import katex from 'katex';
import { AllHtmlEntities } from 'html-entities';
import SettingsStore from './settings/SettingsStore';
import cheerio from 'cheerio';
import htmlparser2 from 'htmlparser2';
import * as htmlparser2 from 'htmlparser2';
import {tryTransformPermalinkToLocalHref} from "./utils/permalinks/Permalinks";
import {SHORTCODE_TO_EMOJI, getEmojiFromUnicode} from "./emoji";

View file

@ -22,7 +22,7 @@ import { AllHtmlEntities } from 'html-entities';
import SettingsStore from '../settings/SettingsStore';
import SdkConfig from '../SdkConfig';
import cheerio from 'cheerio';
import htmlparser2 from 'htmlparser2';
import * as htmlparser2 from 'htmlparser2';
export function mdSerialize(model: EditorModel) {
return model.parts.reduce((html, part) => {