1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-20 06:01:24 +02:00

fix iframes example line breaks

This commit is contained in:
Ian Storm Taylor
2016-08-05 12:47:29 -07:00
parent bd10da5066
commit 5a6d3c4534

View File

@@ -191,13 +191,8 @@ class Iframes extends React.Component {
return ( return (
<div> <div>
<p style={{ marginBottom: '10px' }}>This editor is rendered inside of an <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>
<code>iframe</code> element, and everything works as usual! This is <p style={{ marginBottom: '10px' }}>In this example's case, we've added Bootstrap's CSS to the <code>iframe</code> for default styles:</p>
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}> <Frame head={bootstrap} style={style}>
<div style={{ padding: '20px' }}> <div style={{ padding: '20px' }}>
{this.renderToolbar()} {this.renderToolbar()}