Skip to content

Commit

Permalink
HtmlEditor: use showdown package instead of devextreme-showdown (T122…
Browse files Browse the repository at this point in the history
…3917) (DevExpress#27075)
  • Loading branch information
EugeniyKiyashko authored Apr 5, 2024
1 parent f89461d commit 2ccffb3
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 129 deletions.
4 changes: 2 additions & 2 deletions js/ui/html_editor/converters/markdown.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import TurnDown from 'turndown';
import ShowDown from 'devextreme-showdown';
import ShowDown from 'showdown';

import { getWindow } from '../../../core/utils/window';
import Errors from '../../widget/ui.errors';
Expand All @@ -17,7 +17,7 @@ class MarkdownConverter {
}

if(!showdown) {
throw Errors.Error('E1041', 'DevExtreme-Showdown');
throw Errors.Error('E1041', 'Showdown');
}

this._html2Markdown = new turndown();
Expand Down
Loading

0 comments on commit 2ccffb3

Please sign in to comment.