]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
77ad819
6252b46
)
Merge pull request #3298 from BookStackApp/wysiwyg_links
author
Dan Brown
<redacted>
Wed, 9 Mar 2022 14:29:03 +0000
(14:29 +0000)
committer
GitHub
<redacted>
Wed, 9 Mar 2022 14:29:03 +0000
(14:29 +0000)
WYSIWYG editor link updates
1
2
resources/js/wysiwyg/config.js
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
resources/js/wysiwyg/config.js
index 692c5bce647c2f64fa41be87ca04e88ab4f91af4,2da1e2c989d704bb8961bc330494b66c360c47a7..965b14d083699d6c5bb1ce6adb1b38c3eeee4ea2
---
1
/
resources/js/wysiwyg/config.js
---
2
/
resources/js/wysiwyg/config.js
+++ b/
resources/js/wysiwyg/config.js
@@@
-218,12
-177,7
+177,10
@@@
export function build(options)
// Set language
window.tinymce.addI18n(options.language, options.translationMap);
- // Build toolbar content
- const {toolbar, groupButtons: toolBarGroupButtons} = buildToolbar(options);
+ // BookStack Version
+ const version = document.querySelector('script[src*="/dist/app.js"]').getAttribute('src').split('?version=')[1];
+
// Return config object
return {
width: '100%',