Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

HTML prevents image blocks from being created #186

Closed
LeBenLeBen opened this issue Dec 17, 2019 · 1 comment
Closed

HTML prevents image blocks from being created #186

LeBenLeBen opened this issue Dec 17, 2019 · 1 comment
Labels
type: bug 🐛 Issue is a bug; PR is a bugfix

Comments

@LeBenLeBen
Copy link

Describe the bug
If you convert an existing page from markdown to JSON or import Markdown that contain HTML in it, for some reasons image blocks (and maybe others) are skipped.

To Reproduce

  1. Create a page that has an editor field
  2. Download and unzip files.zip
  3. Import text.md with the "import content" feature
  4. The (image: …) tag in the file is not created as a block

If you remove the HTML from the text.md file and import it again, you'll see that the image block is properly created.

Expected behavior
The editor should create the image block without caring about HTML being present in the page or not.

Kirby Version
3.3.2

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Firefox
  • Version: 71
@bastianallgeier bastianallgeier added the type: bug 🐛 Issue is a bug; PR is a bugfix label Jan 7, 2020
@bastianallgeier
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug 🐛 Issue is a bug; PR is a bugfix
Projects
None yet
Development

No branches or pull requests

2 participants