mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-12 14:38:58 +00:00
[text file view] enable the text in viewer to be copied (#3032)
This commit is contained in:
parent
1403ea0e63
commit
6ca920db64
@ -38,7 +38,8 @@ const options = {
|
|||||||
theme: 'default',
|
theme: 'default',
|
||||||
textWrapping: true,
|
textWrapping: true,
|
||||||
lineWrapping: true,
|
lineWrapping: true,
|
||||||
readOnly: 'nocursor'
|
readOnly: true,
|
||||||
|
cursorBlinkRate: -1 // hide the cursor
|
||||||
};
|
};
|
||||||
|
|
||||||
class ViewFileText extends React.Component {
|
class ViewFileText extends React.Component {
|
||||||
|
Loading…
Reference in New Issue
Block a user