File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1119,7 +1119,7 @@ var BLOECKS = (function($) {
1119
1119
console . log ( 'BLOECKS: Clipboard status response:' , response ) ;
1120
1120
1121
1121
if ( response . success ) {
1122
- // Always sync multi-clipboard, regardless of setting
1122
+ // Always sync multi-clipboard items
1123
1123
if ( response . multi_clipboard_items && response . multi_clipboard_items . length > 0 ) {
1124
1124
multiClipboard = response . multi_clipboard_items ;
1125
1125
console . log ( 'BLOECKS: Loaded' , multiClipboard . length , 'items from server clipboard' ) ;
@@ -1128,11 +1128,10 @@ var BLOECKS = (function($) {
1128
1128
console . log ( 'BLOECKS: Server clipboard is empty' ) ;
1129
1129
}
1130
1130
1131
- // Set multi-clipboard mode based on server setting
1132
- if ( response . multi_clipboard_enabled ) {
1133
- setMultiClipboardEnabled ( true ) ;
1134
- console . log ( 'BLOECKS: Multi-clipboard enabled on server' ) ;
1135
- }
1131
+ // Multi-clipboard status is controlled by the initial config, not server response
1132
+ // The server response indicates permission, but JS config controls the feature
1133
+ console . log ( 'BLOECKS: Multi-clipboard enabled in JS:' , isMultiClipboardEnabled ) ;
1134
+ console . log ( 'BLOECKS: Multi-clipboard allowed by server:' , response . multi_clipboard_enabled ) ;
1136
1135
1137
1136
updatePasteButtons ( ) ;
1138
1137
} else {
You can’t perform that action at this time.
0 commit comments