Skip to content

Commit

Permalink
Rename Slot per review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tg-ephox committed Oct 31, 2017
1 parent 970b10f commit 9c62023
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions blocks/editable/format-toolbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class FormatToolbar extends Component {
<Toolbar controls={ toolbarControls } />

{ ( isAddingLink || isEditingLink ) &&
<Fill name="Formatting.LinkDialog">
<Fill name="Editable.Siblings">
<form
className="blocks-format-toolbar__link-modal"
style={ linkStyle }
Expand All @@ -192,7 +192,7 @@ class FormatToolbar extends Component {
}

{ !! formats.link && ! isAddingLink && ! isEditingLink &&
<Fill name="Formatting.LinkDialog">
<Fill name="Editable.Siblings">
<div className="blocks-format-toolbar__link-modal" style={ linkStyle }>
<a
className="blocks-format-toolbar__link-value"
Expand Down
2 changes: 1 addition & 1 deletion blocks/editable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ export default class Editable extends Component {
{ MultilineTag ? <MultilineTag>{ placeholder }</MultilineTag> : placeholder }
</Tagname>
}
{ focus && <Slot name="Formatting.LinkDialog" /> }
{ focus && <Slot name="Editable.Siblings" /> }
</div>
);
}
Expand Down

0 comments on commit 9c62023

Please sign in to comment.