@modusoperandi/licit-floatingmenu 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FloatingPopup.js +3 -3
- package/package.json +2 -2
package/FloatingPopup.js
CHANGED
|
@@ -26,13 +26,13 @@ export class FloatingMenu extends React.PureComponent {
|
|
|
26
26
|
React.createElement("div", { className: "context-menu__items" },
|
|
27
27
|
React.createElement(CustomButton, { disabled: !enableCitationAndComment, label: "Create Citation", onClick: this.props.createCitationHandler }),
|
|
28
28
|
React.createElement(CustomButton, { disabled: !enableTagAndInfoicon, label: "Create Infoicon", onClick: this.props.createInfoIconHandler }),
|
|
29
|
-
React.createElement(CustomButton, { disabled: !enableCopy, label: "Copy", onClick: this.props.copyRichHandler }),
|
|
29
|
+
React.createElement(CustomButton, { disabled: !enableCopy, label: "Copy(Ctrl + C)", onClick: this.props.copyRichHandler }),
|
|
30
30
|
React.createElement(CustomButton, { disabled: !enableCopy, label: "Copy Without Formatting", onClick: this.props.copyPlainHandler }),
|
|
31
|
-
React.createElement(CustomButton, { disabled: !this.props.enablePasteAsPlainText, label: "Paste", onClick: () => {
|
|
31
|
+
React.createElement(CustomButton, { disabled: !this.props.enablePasteAsPlainText, label: "Paste(Ctrl + V)", onClick: () => {
|
|
32
32
|
this.props.pasteHandler();
|
|
33
33
|
} }),
|
|
34
34
|
React.createElement(CustomButton, { disabled: !this.props.enablePasteAsPlainText, label: "Paste As Plain Text", onClick: this.props.pastePlainHandler }),
|
|
35
|
-
React.createElement(CustomButton, { disabled: !this.props.pasteAsReferenceEnabled, label: "Paste As Reference", onClick: () => {
|
|
35
|
+
React.createElement(CustomButton, { disabled: !this.props.pasteAsReferenceEnabled, label: "Paste As Reference(Ctrl + Alt + V)", onClick: () => {
|
|
36
36
|
this.props.pasteAsReferenceHandler();
|
|
37
37
|
} }),
|
|
38
38
|
React.createElement(CustomButton, { label: "Create Bookmark", onClick: () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modusoperandi/licit-floatingmenu",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "licit-floatingmenu plugin built with ProseMirror",
|
|
6
6
|
"main": "index.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@testing-library/react": "^16.3.1",
|
|
47
47
|
"@testing-library/user-event": "^14.6.1",
|
|
48
48
|
"@types/jest": "^29.5.14",
|
|
49
|
-
"@types/node": "^20.19.
|
|
49
|
+
"@types/node": "^20.19.28",
|
|
50
50
|
"@types/orderedmap": "^2.0.0",
|
|
51
51
|
"@types/react": "^18.3.27",
|
|
52
52
|
"@types/react-dom": "^18.3.7",
|