@visns-studio/visns-components 4.8.0 → 4.8.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/package.json CHANGED
@@ -75,7 +75,7 @@
75
75
  "react-dom": "^17.0.0 || ^18.0.0"
76
76
  },
77
77
  "name": "@visns-studio/visns-components",
78
- "version": "4.8.0",
78
+ "version": "4.8.2",
79
79
  "description": "Various packages to assist in the development of our Custom Applications.",
80
80
  "main": "src/index.js",
81
81
  "files": [
@@ -528,7 +528,10 @@ const DataGrid = forwardRef(
528
528
  modalGalleryOpen();
529
529
  break;
530
530
  case 'link':
531
- const url = `${s.baseUrl}/${d[s.key]}`;
531
+ const url = s.baseUrl
532
+ ? `${s.baseUrl}/${d[s.key]}`
533
+ : `${d[s.key]}`;
534
+
532
535
  navigator.clipboard.writeText(url).then(
533
536
  () => {
534
537
  toast.success(
@@ -1141,7 +1141,7 @@ function Field({
1141
1141
  'code',
1142
1142
  ],
1143
1143
  toolbar:
1144
- 'undo redo | blocks | ' +
1144
+ 'insertTextDropdown | undo redo | blocks | ' +
1145
1145
  'bold italic forecolor | alignleft aligncenter ' +
1146
1146
  'alignright alignjustify | bullist numlist outdent indent | ' +
1147
1147
  'removeformat | table',
@@ -1155,7 +1155,7 @@ function Field({
1155
1155
  settings.insertText.length > 0
1156
1156
  ) {
1157
1157
  editor.ui.registry.addMenuButton(
1158
- 'myCustomDropdown',
1158
+ 'insertTextDropdown',
1159
1159
  {
1160
1160
  text: 'Insert Text',
1161
1161
  fetch: (callback) => {