This website requires JavaScript.
Explore
Help
Sign In
TryGhost
/
Ghost
Watch
1
Star
0
Fork
0
You've already forked Ghost
mirror of
https://github.com/TryGhost/Ghost.git
synced
2024-12-14 18:52:05 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
1ee1e68adf
Ghost
/
core
/
server
/
lib
/
mobiledoc
/
atoms
/
index.js
4 lines
77 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Koenig - Versioned renderer (#9606) refs https://github.com/TryGhost/Ghost/issues/9505 - updates mobiledoc converter's `render` method to accept a `version` argument - `1` === Ghost 1.0's markdown-only renderer output - `2` === Koenig's full mobiledoc renderer output - switch between mobiledoc renderer versions in Post model's `onSaving` hook - version 1 by default - version 2 if Koenig is enabled (currently behind dev experiments config + labs flag) - version 2 if the post's mobiledoc is not compatible with the markdown-only renderer - "version 2" full-Koenig mobiledoc renderer output - wraps content in a `.kg-post` div - removes wrapper around markdown and html card output - adds classes to image card output including selected image size/style - standardises es6 usage across mobiledoc related files
2018-05-04 16:59:39 +03:00
const
softReturn
=
require
(
'./soft-return'
)
;
Removed ghost editor dependency (#8137) refs #7429 - ☢️ 👷🏻♀️ This PR removes the dependency on Ghost-Editor and replaces it with the Mobiledoc DOM renderer. It includes new DOM based default cards and atoms.
2017-03-14 21:07:33 +03:00
module
.
exports
=
[
softReturn
]
;
Reference in New Issue
Copy Permalink