@fonixtree/magic-design 0.0.145 → 0.0.146

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.
@@ -59,7 +59,7 @@ function (_super) {
59
59
  renderProps: renderProps
60
60
  }, function () {
61
61
  var html = document.querySelector('#render-html-wrap').innerHTML;
62
- resolve(html);
62
+ resolve(html.replace(/url\("((\S|\s)*)"\)/g, 'url($1)'));
63
63
 
64
64
  _this.setState({
65
65
  renderProps: null
@@ -498,9 +498,9 @@ function (_super) {
498
498
  // textDecorationStyle: data?.underline.textDecorationStyle,
499
499
  // };
500
500
  // mode == 'designer' && !readonly
501
+ // console.log('!readonly: ', mode, readonly);
501
502
 
502
503
 
503
- console.log('!readonly: ', mode, readonly);
504
504
  return /*#__PURE__*/_react["default"].createElement("div", {
505
505
  ref: this.textRef,
506
506
  className: (0, _classnames["default"])('m-meta-text', className),
@@ -59,7 +59,7 @@ function (_super) {
59
59
  renderProps: renderProps
60
60
  }, function () {
61
61
  var html = document.querySelector('#render-html-wrap').innerHTML;
62
- resolve(html);
62
+ resolve(html.replace(/url\("((\S|\s)*)"\)/g, 'url($1)'));
63
63
 
64
64
  _this.setState({
65
65
  renderProps: null
@@ -498,9 +498,9 @@ function (_super) {
498
498
  // textDecorationStyle: data?.underline.textDecorationStyle,
499
499
  // };
500
500
  // mode == 'designer' && !readonly
501
+ // console.log('!readonly: ', mode, readonly);
501
502
 
502
503
 
503
- console.log('!readonly: ', mode, readonly);
504
504
  return /*#__PURE__*/_react["default"].createElement("div", {
505
505
  ref: this.textRef,
506
506
  className: (0, _classnames["default"])('m-meta-text', className),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.0.145",
4
+ "version": "0.0.146",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",