Skip to content

Commit

Permalink
Moved default-cards app to lib/mobiledoc (#9341)
Browse files Browse the repository at this point in the history
refs #9178, refs TryGhost/Ghost#9338
  • Loading branch information
kirrg001 authored and kevinansfield committed Apr 8, 2020
1 parent 0d9f98f commit f148bc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/kg-default-atoms/lib/atoms/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var softReturn = require('./soft-return');

module.exports = [softReturn];
7 changes: 7 additions & 0 deletions packages/kg-default-atoms/lib/atoms/soft-return.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
name: 'soft-return',
type: 'dom',
render(opts) {
return opts.env.dom.createElement('br');
}
};

0 comments on commit f148bc0

Please sign in to comment.