mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-19 05:31:56 +02:00
fix iframes example line breaks
This commit is contained in:
@@ -191,13 +191,8 @@ class Iframes extends React.Component {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<p style={{ marginBottom: '10px' }}>This editor is rendered inside of an
|
||||
<code>iframe</code> element, and everything works as usual! This is
|
||||
helpful for scenarios where you need the content to be rendered in an
|
||||
isolated, for example to create a "live example" with a specific set
|
||||
of stylesheets applied.</p>
|
||||
<p style={{ marginBottom: '10px' }}>In this example's case, we've added
|
||||
Bootstrap's CSS to the <code>iframe</code> for default styles:</p>
|
||||
<p style={{ marginBottom: '10px' }}>This editor is rendered inside of an <code>iframe</code> element, and everything works as usual! This is helpful for scenarios where you need the content to be rendered in an isolated, for example to create a "live example" with a specific set of stylesheets applied.</p>
|
||||
<p style={{ marginBottom: '10px' }}>In this example's case, we've added Bootstrap's CSS to the <code>iframe</code> for default styles:</p>
|
||||
<Frame head={bootstrap} style={style}>
|
||||
<div style={{ padding: '20px' }}>
|
||||
{this.renderToolbar()}
|
||||
|
Reference in New Issue
Block a user