@tripup-company/element-ui-extended 0.0.112 → 0.0.113

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripup-company/element-ui-extended",
3
- "version": "0.0.112",
3
+ "version": "0.0.113",
4
4
  "main": "./dist/element-ui-extended.umd.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve && tsc --emitDeclarationOnly",
@@ -153,9 +153,17 @@
153
153
 
154
154
  <script>
155
155
  import Editor from "@tinymce/tinymce-vue";
156
+ import $ from "jquery";
157
+ import "trumbowyg";
156
158
  import VueTrumbowyg from "vue-trumbowyg";
157
159
  import "trumbowyg/dist/ui/trumbowyg.css";
158
160
  import lodash from "lodash";
161
+
162
+ if (typeof window !== "undefined") {
163
+ window.$ = window.$ || $;
164
+ window.jQuery = window.jQuery || $;
165
+ }
166
+
159
167
  const _ = lodash;
160
168
  export default {
161
169
  name: "EditableField",