1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 02:10:24 +00:00

[copy link] improved 'copy link to the clipboard' (#4419)

* copy link to the clipboard, and make it shown as a link when pasted
into the seafile markdown editor
This commit is contained in:
llj
2020-02-03 16:43:49 +08:00
committed by GitHub
parent 94a15a6920
commit a8ba12e6fd
6 changed files with 52 additions and 6 deletions

View File

@@ -2,10 +2,11 @@ import React from 'react';
import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap';
import PropTypes from 'prop-types';
import toaster from '../toast';
import copy from '@seafile/seafile-editor/dist/utils/copy-to-clipboard';
import copy from '../copy-to-clipboard';
import { gettext } from '../../utils/constants';
import { seafileAPI } from '../../utils/seafile-api';
import { Utils } from '../../utils/utils';
import '../../css/internal-link.css';
const propTypes = {