|
|
@@ -224,7 +224,6 @@ class LinkEditModal extends React.PureComponent {
|
|
|
}
|
|
|
|
|
|
handleChangeLinkInput(link) {
|
|
|
- this.setState({ linkInputValue: link, isUseRelativePath: false, isUsePermanentLink: false });
|
|
|
let isUseRelativePath = this.state.isUseRelativePath;
|
|
|
if (!this.state.linkInputValue.startsWith('/') || this.state.linkerType === Linker.types.growiLink) {
|
|
|
isUseRelativePath = false;
|