mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
closes #10471 - Allows accepting HTML input for /posts endpoint when `?source=html` is present in query parameter along with `html` in request payload
13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
module.exports = {
|
|
get mobiledocConverter() {
|
|
return require('./mobiledoc-converter');
|
|
},
|
|
|
|
get markdownConverter() {
|
|
return require('./markdown-converter');
|
|
},
|
|
|
|
get htmlToMobiledocConverter() {
|
|
return require('@tryghost/html-to-mobiledoc').toMobiledoc;
|
|
}
|
|
};
|