1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-31 10:51:44 +02:00

slate-react: MVP for working with non-global window objects (fix for #3819) (#4079)

* mvp implementation for working with non-global window instances

* remove unused element renderer

* fix typo in comment

* fix wrong example reference

* Add @babel/helper-call-delegate to fix build error

Co-authored-by: Lukas Buenger <lukasbuenger@gmail.com>
This commit is contained in:
Sunny Hirai
2021-02-16 19:40:15 -08:00
committed by GitHub
parent 6d66d87f67
commit 513771c82a
9 changed files with 263 additions and 12 deletions

View File

@@ -25,6 +25,7 @@ import RichText from '../../examples/richtext'
import SearchHighlighting from '../../examples/search-highlighting'
import CodeHighlighting from '../../examples/code-highlighting'
import Tables from '../../examples/tables'
import IFrames from '../../examples/iframe'
// node
import { getAllExamples } from '../api'
@@ -48,6 +49,7 @@ const EXAMPLES = [
['Search Highlighting', SearchHighlighting, 'search-highlighting'],
['Code Highlighting', CodeHighlighting, 'code-highlighting'],
['Tables', Tables, 'tables'],
['Rendering in iframes', IFrames, 'iframe'],
]
const Header = props => (