mirror of
https://github.com/outline/outline.git
synced 2026-11-26 23:50:14 +03:00
1 parent
d3ecab3489
commit
f23f0d57de
2 files changed
+2
No files matched your search
@@ -137,6 +137,7 @@ export default class LinkToolbar extends React.Component<Props> {
|
||||
<FloatingToolbar ref={this.menuRef} active={active} {...rest}>
|
||||
{active && (
|
||||
<LinkEditor
|
||||
key={`${selection.from}-${selection.to}`}
|
||||
from={selection.from}
|
||||
to={selection.to}
|
||||
onCreateLink={onCreateLink ? this.handleOnCreateLink : undefined}
|
||||
|
||||
@@ -243,6 +243,7 @@ export default class SelectionToolbar extends React.Component<Props> {
|
||||
>
|
||||
{link && range ? (
|
||||
<LinkEditor
|
||||
key={`${range.from}-${range.to}`}
|
||||
dictionary={dictionary}
|
||||
mark={range.mark}
|
||||
from={range.from}
|
||||
|
||||
Reference in new issue
Block a user