1
0
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:
llj 2019-03-04 15:20:28 +08:00 committed by Daniel Pan
parent 1403ea0e63
commit 6ca920db64

View File

@ -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 {