mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-04-25 05:36:14 +03:00
[PR #1324] [MERGED] CB-2706 allow copy from sql editor in readonly mode #2415
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
pull-request
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:ai
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:dark theme
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:kerberos
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#2415
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dbeaver/cloudbeaver/pull/1324
Author: @devnaumov
Created: 11/25/2022
Status: ✅ Merged
Merged: 11/26/2022
Merged by: @devnaumov
Base:
devel← Head:CB-2706-allow-copy-sql-editor📝 Commits (2)
efba7a4CB-2706 allow copy from sql editor in readonly mode8ccaef0CB-2706 use DEFAULT_CURSOR_BLINK_RATE only in the CodeEditor📊 Changes
3 files changed (+12 additions, -5 deletions)
View changed files
📝
webapp/packages/plugin-codemirror/src/CodeEditor.tsx(+8 -3)📝
webapp/packages/plugin-data-viewer/src/ValuePanelPresentation/TextValue/TextValuePresentation.tsx(+2 -1)📝
webapp/packages/plugin-sql-editor/src/SqlEditor/SQLCodeEditor/SQLCodeEditor.tsx(+2 -1)📄 Description
You can't focus the editor with the settings 'nocursor', so there is no way to have copy work (browser will only send copy events to focused elements). So we just hide cursor in readonly mode to mimic this behaviour.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.