@jx3box/jx3box-editor 1.7.7 → 1.7.9

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": "@jx3box/jx3box-editor",
3
- "version": "1.7.7",
3
+ "version": "1.7.9",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/Article.vue CHANGED
@@ -232,6 +232,7 @@ export default {
232
232
  let id = $(this).attr('id')
233
233
  let target = $(`#${id}`).offset().top;
234
234
  $(document).scrollTop(target - HEADER_HEIGHT);
235
+ window.location.hash = `#${id}`;
235
236
  })
236
237
  },
237
238
  changePage: function (i) {
package/src/Tinymce.vue CHANGED
@@ -81,7 +81,7 @@ export default {
81
81
  "code fullscreen wordcount powerpaste pagebreak printpage pz", // template anchor jx3icon autosave
82
82
  ],
83
83
  toolbar: [
84
- "undo | formatselect | fontsizeselect | forecolor backcolor | bold italic underline strikethrough superscript subscript | link unlink anchor | fullscreen code", //restoredraft
84
+ "undo | formatselect | fontsizeselect | forecolor backcolor | bold italic underline strikethrough superscript subscript | link unlink | fullscreen code", //anchor restoredraft
85
85
  "removeformat | hr alignleft aligncenter alignright alignjustify indent outdent | bullist numlist checklist table blockquote foldtext codeinline codesample latex | emoticons image media videox | macro pz qixue talent2 pagebreak printpage", // template anchor jx3icon
86
86
  ],
87
87
  mobile: {