1
0
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:
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 (
<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()}