SIGN IN SIGN UP

Remove support for passing custom props to components

Previously, this project automatically passed different extra props to
particular components.
Those props are sometimes useful to some people, but not always useful
to everyone.

When overwriting components, these props are no longer passed:

*   `inline` on `code`:
    — create a plugin or use `pre` for the block
*   `level` on `h1`, `h2`, `h3`, `h4`, `h5`, `h6`
    — check `node.tagName` instead
*   `checked` on `li`
    — check `task-list-item` class or check `props.children`
*   `index` on `li`
    — create a plugin
*   `ordered` on `li`
    — create a plugin or check the parent
*   `depth` on `ol`, `ul`
    — create a plugin
*   `ordered` on `ol`, `ul`
    — check `node.tagName` instead
*   `isHeader` on `td`, `th`
    — check `node.tagName` instead
*   `isHeader` on `tr`
    — create a plugin or check children

When using options, these props are no longer passed:

*   `includeElementIndex`: `index` (create a plugin)
*   `rawSourcePos`: `sourcePosition` (use `node.position`)
*   `sourcePos`: `data-sourcepos` (create a plugin)
T
Titus Wormer committed
434627686e21d4bcfb4301417e0da2bb851d4391
Parent: 8aabf74