mirror of
https://github.com/haiwen/seahub.git
synced 2025-07-13 15:05:30 +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',
|
||||
textWrapping: true,
|
||||
lineWrapping: true,
|
||||
readOnly: 'nocursor'
|
||||
readOnly: true,
|
||||
cursorBlinkRate: -1 // hide the cursor
|
||||
};
|
||||
|
||||
class ViewFileText extends React.Component {
|
||||
|
Loading…
Reference in New Issue
Block a user