Slate not rendering output as expected
See original GitHub issueDescribe the bug
Generated output does not seem to render in slate properly (at least for OpenAPI 3). It does render in Shins as expected. For a test, I used the petstore3.json included in the Widdershins repo.
- [ x ] - I have checked that my input document is valid OpenAPI 2.0/3.0.x or AsyncAPI 1.x
To Reproduce Steps to reproduce the behavior:
- Command-line:
node widdershins defs/petstore3.json -o petstore3.html.md - My input file: https://gist.github.com/asanger/489ec74957605200d1f3e010ba9d4cde
- Place in Slate root directory
- Visit http://localhost:4567/petstore3.html
Expected behavior Rendering of the document should not appear to be broken in Slate. It should (for the most part) match exactly how Shins renders.
Screenshots
When loading this file with shins, I get valid rendering:

When loading this file with slate (cloned repo, no alterations), I get broken rendering:

Versions:
- Node.js: 11.5.0
- Slate: 2.3.1
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Slate: How to find when Editor has fully rendered
Use the componentDidUpdate life-cycle method in the class that renders your Editor component. componentDidUpdate() { if(this.state.document ...
Read more >Normalizing - Slate
Before any of the other normalizations can execute, Slate iterates through all Element nodes and makes sure they have at least one child....
Read more >Uploading media and rendering loading states with slate js.
This is our start position, before we press undo, the image is in the editor, as expected. Pressing undo once will undo the...
Read more >Understanding the Slate UI Architecture in Unreal Engine
SEditableText is a Slate widget responsible for both input and output. ... core of slate, but rather domain-specific widgets that are not intended...
Read more >Logic Pro release notes - Apple Support
Logic can now record MIDI FX plug-in output as MIDI to the tracks area ... Output Gain is not accurately rendered in a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

macOS Mojave 10.14.3
Should be fixed in version
4.0.0, which includes breaking changes (please see theREADME.mdfile).