1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00

🐝 Ghost Image Preview in Markdown. (#615)

refs: https://github.com/TryGhost/Ghost/issues/8248
- removes the upload image button in the markdown preview.
This commit is contained in:
Ryan McCarvill 2017-04-05 03:15:30 +12:00 committed by Kevin Ansfield
parent 9a0b39eeca
commit cdeb415b2c

View file

@ -4,7 +4,7 @@ import {htmlSafe} from 'ember-string';
import cajaSanitizers from './caja-sanitizers';
// eslint-disable-next-line new-cap
let showdown = new Showdown.converter({extensions: ['ghostimagepreview', 'ghostgfm', 'footnotes', 'highlight']});
let showdown = new Showdown.converter({extensions: ['ghostgfm', 'footnotes', 'highlight']});
export function formatMarkdown(params) {
if (!params || !params.length) {