mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
e422f0bcba
Integrated Ghost-Editor as an in-repo addon. Moved CSS to /app/styles/addons/ghost-editor/ Still a WIP.
13 lines
371 B
JavaScript
13 lines
371 B
JavaScript
/* jshint ignore:start */
|
|
// this has to be a node style module as it's imported by the front end and ember.
|
|
// a card has to have an editor object, and an HTML object. In the future we might have AMP and Text (for FTS) renderers.
|
|
|
|
module.exports = {
|
|
name: 'html-card',
|
|
render: function(opts) {
|
|
return opts.payload.html;
|
|
}
|
|
};
|
|
|
|
/* jshint ignore:end */
|