@jx3box/jx3box-editor 2.0.4 → 2.0.6
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 +1 -1
- package/src/BoxResource.vue +1 -1
- package/src/components/Letter.vue +1 -1
package/package.json
CHANGED
package/src/BoxResource.vue
CHANGED
|
@@ -363,7 +363,7 @@ export default {
|
|
|
363
363
|
o.isSelected = true;
|
|
364
364
|
const { slug, style } = o;
|
|
365
365
|
const titleHtml = `<div class="e-letter-title letter-title--${slug}">我是标题</div>`;
|
|
366
|
-
|
|
366
|
+
const contentHtml = `<div class="e-letter-content letter-body--${slug}"><div class="u-letter-content--header letter-header--${slug}"><div class="u-letter-content--footer letter-footer--${slug}"><p contenteditable="true">明月几时有,把酒问青天。</p></div></div></div>`;
|
|
367
367
|
this.html = `<div class="e-letter letter--${slug}">${titleHtml}<br/> ${contentHtml}</div></div><style>${style}</style>`;
|
|
368
368
|
},
|
|
369
369
|
resetItems: function () {
|
|
@@ -29,7 +29,7 @@ export default {
|
|
|
29
29
|
// 默认html
|
|
30
30
|
htmlDemo({ slug, style }) {
|
|
31
31
|
const titleHtml = `<div class="e-letter-title letter-title--${slug}">我是标题</div>`;
|
|
32
|
-
|
|
32
|
+
const contentHtml = `<div class="e-letter-content letter-body--${slug}"><div class="u-letter-content--header letter-header--${slug}"><div class="u-letter-content--footer letter-footer--${slug}"><p contenteditable="true">明月几时有,把酒问青天。</p></div></div></div>`;
|
|
33
33
|
return `<div class="e-letter letter--${slug}">${titleHtml}<br/> ${contentHtml}</div></div><style>${style}</style>`;
|
|
34
34
|
},
|
|
35
35
|
},
|