diff --git a/src-docs/src/views/markdown_editor/markdown_plugin_example.js b/src-docs/src/views/markdown_editor/markdown_plugin_example.js index 1d3c18ac46..7b3ffb4daf 100644 --- a/src-docs/src/views/markdown_editor/markdown_plugin_example.js +++ b/src-docs/src/views/markdown_editor/markdown_plugin_example.js @@ -11,12 +11,7 @@ import React, { Fragment } from 'react'; -import { renderToHtml } from '../../services'; - -import { GuideSectionTypes } from '../../components'; - import { - OuiMarkdownEditor, OuiText, OuiTitle, OuiSpacer, @@ -29,10 +24,6 @@ import { import { Link } from 'react-router-dom'; -import MarkdownEditorWithPlugins from './markdown_editor_with_plugins'; -const markdownEditorWithPluginsSource = require('!!raw-loader!./markdown_editor_with_plugins'); -const markdownEditorWithPluginsHtml = renderToHtml(MarkdownEditorWithPlugins); - const pluginSnippet = ` ), }, - { - source: [ - { - type: GuideSectionTypes.JS, - code: markdownEditorWithPluginsSource, - }, - { - type: GuideSectionTypes.HTML, - code: markdownEditorWithPluginsHtml, - }, - ], - title: 'Putting it all together: a simple chart plugin', - text: ( - -

- The below example takes the concepts from above to construct a - simple chart embed that is initiated from a new button in the editor - toolbar. -

-

- Note that the OuiMarkdownEditor and{' '} - OuiMarkdownFormat examples utilize the same prop - list. The editor manages additional controls through the{' '} - uiPlugins prop. -

-
- ), - props: { - OuiMarkdownEditor, - }, - demo: , - }, ], };