Ghost/core/server/lib/mobiledoc/cards
Kevin Ansfield f57268daae
Koenig - Finalise Koenig HTML output and migrate existing content (#9741)
refs https://github.com/TryGhost/Ghost/issues/9742

We've identified some changes we need to make to the HTML output of the [new Koenig editor](
https://forum.ghost.org/t/koenig-editor-beta-release/1284/102) for future proofing and consistency across cards.

- the `<div class="kg-post">` wrapper around post content has been removed
- for image cards the `.kg-image-wide` and `.kg-image-full` classes have been changed to `.kg-width-wide` and `.kg-width-full` and applied to the `<figure>` element rather than the `<img>` element

Before:
```html
<div class="kg-post">
    <figure class="kg-image-card">
        <img class="kg-image kg-image-wide" src="...">
        <figcaption>example wide image</figcaption>
    </figure>
</div>
```

After:
```html
<figure class="kg-image-card kg-width-wide">
    <img class="kg-image" src="...">
    <figcaption>example wide image</figcaption>
</figure>
```
2018-07-23 12:23:02 +01:00
..
card-markdown.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
code.js Koenig - Code card server-side rendering 2018-05-15 16:27:34 +01:00
embed.js Koenig - Embed card renderer 2018-06-12 16:18:01 +01:00
hr.js Removed more 'use strict' usages 2018-06-02 21:38:11 +02:00
html.js Koenig - Fixed empty HTML card rendering undefined 2018-05-15 10:09:52 +01:00
image.js Koenig - Finalise Koenig HTML output and migrate existing content (#9741) 2018-07-23 12:23:02 +01:00
index.js Koenig - Embed card renderer 2018-06-12 16:18:01 +01:00
markdown.js Removed more 'use strict' usages 2018-06-02 21:38:11 +02:00