1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-21 06:31:28 +02:00

fix check-lists example

This commit is contained in:
Ian Storm Taylor
2017-03-30 12:30:33 -04:00
parent f1b147860b
commit ef81dc856a
2 changed files with 2 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ class CheckListItem extends React.Component {
onChange={this.onChange}
/>
</span>
<span contentEditable>
<span contentEditable suppressContentEditableWarning>
{children}
</span>
</div>

View File

@@ -211,6 +211,7 @@ input:focus {
.check-list-item {
display: flex;
flex-direction: row;
align-items: center;
}
.check-list-item > span:first-child {