jsuites 4.10.4 → 4.10.5

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.
@@ -116,8 +116,6 @@ div[data-before]:before {
116
116
  cursor: pointer;
117
117
  box-sizing: border-box;
118
118
  width: 100%;
119
- max-height: 100%;
120
- min-height: 180px;
121
119
  display: flex;
122
120
  align-items: center;
123
121
  justify-content: center;
@@ -967,10 +965,6 @@ div[data-before]:before {
967
965
  display: inline-block;
968
966
  }
969
967
 
970
- .jdropdown-header::placeholder {
971
- color:#000;
972
- }
973
-
974
968
  .jdropdown-backdrop {
975
969
  position:fixed;
976
970
  top:0px;
@@ -1919,7 +1913,7 @@ div[data-before]:before {
1919
1913
  }
1920
1914
 
1921
1915
  .jtabs .jtabs-headers > div:not(.jtabs-border) {
1922
- padding: 6px;
1916
+ padding: 8px;
1923
1917
  padding-left: 20px;
1924
1918
  padding-right: 20px;
1925
1919
  margin-left: 1px;
@@ -2170,6 +2164,7 @@ div[data-before]:before {
2170
2164
  background-position: top 50% right 0px;
2171
2165
  display: flex;
2172
2166
  align-items: center;
2167
+ font-size: 0.9em;
2173
2168
  }
2174
2169
 
2175
2170
  .jtoolbar .jpicker-content > div {
@@ -17,7 +17,7 @@
17
17
 
18
18
  var jSuites = function(options) {
19
19
  var obj = {}
20
- var version = '4.10.4';
20
+ var version = '4.10.1';
21
21
 
22
22
  var find = function(DOMElement, component) {
23
23
  if (DOMElement[component.type] && DOMElement[component.type] == component) {
@@ -5177,8 +5177,12 @@ jSuites.editor = (function(el, options) {
5177
5177
  /**
5178
5178
  * Set editor value
5179
5179
  */
5180
- obj.setData = function(html) {
5181
- editor.innerHTML = html;
5180
+ obj.setData = function(o) {
5181
+ if (typeof(o) == 'object') {
5182
+ editor.innerHTML = o.content;
5183
+ } else {
5184
+ editor.innerHTML = o;
5185
+ }
5182
5186
 
5183
5187
  if (obj.options.focus) {
5184
5188
  jSuites.editor.setCursor(editor, true);
package/dist/jsuites.css CHANGED
@@ -116,8 +116,6 @@ div[data-before]:before {
116
116
  cursor: pointer;
117
117
  box-sizing: border-box;
118
118
  width: 100%;
119
- max-height: 100%;
120
- min-height: 180px;
121
119
  display: flex;
122
120
  align-items: center;
123
121
  justify-content: center;
@@ -967,10 +965,6 @@ div[data-before]:before {
967
965
  display: inline-block;
968
966
  }
969
967
 
970
- .jdropdown-header::placeholder {
971
- color:#000;
972
- }
973
-
974
968
  .jdropdown-backdrop {
975
969
  position:fixed;
976
970
  top:0px;
@@ -2423,7 +2417,7 @@ div[data-before]:before {
2423
2417
  }
2424
2418
 
2425
2419
  .jtabs .jtabs-headers > div:not(.jtabs-border) {
2426
- padding: 6px;
2420
+ padding: 8px;
2427
2421
  padding-left: 20px;
2428
2422
  padding-right: 20px;
2429
2423
  margin-left: 1px;
@@ -2740,6 +2734,7 @@ div[data-before]:before {
2740
2734
  background-position: top 50% right 0px;
2741
2735
  display: flex;
2742
2736
  align-items: center;
2737
+ font-size: 0.9em;
2743
2738
  }
2744
2739
 
2745
2740
  .jtoolbar .jpicker-content > div {
package/dist/jsuites.js CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  var jSuites = function(options) {
19
19
  var obj = {}
20
- var version = '4.10.4';
20
+ var version = '4.10.5';
21
21
 
22
22
  var find = function(DOMElement, component) {
23
23
  if (DOMElement[component.type] && DOMElement[component.type] == component) {
@@ -5188,8 +5188,12 @@ jSuites.editor = (function(el, options) {
5188
5188
  /**
5189
5189
  * Set editor value
5190
5190
  */
5191
- obj.setData = function(html) {
5192
- editor.innerHTML = html;
5191
+ obj.setData = function(o) {
5192
+ if (typeof(o) == 'object') {
5193
+ editor.innerHTML = o.content;
5194
+ } else {
5195
+ editor.innerHTML = o;
5196
+ }
5193
5197
 
5194
5198
  if (obj.options.focus) {
5195
5199
  jSuites.editor.setCursor(editor, true);
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "javascript plugins"
20
20
  ],
21
21
  "main": "dist/jsuites.js",
22
- "version": "4.10.4",
22
+ "version": "4.10.5",
23
23
  "bugs": "https://github.com/jsuites/jsuites/issues",
24
24
  "homepage": "https://github.com/jsuites/jsuites",
25
25
  "docs": "https://jsuites.net",