nodebb-plugin-composer-default 10.2.19 → 10.2.20

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/library.js CHANGED
@@ -219,6 +219,7 @@ plugin.filterComposerBuild = async function (hookData) {
219
219
  isAdminOrMod: isAdmin || isMod,
220
220
  save_id: save_id,
221
221
  privileges: globalPrivileges,
222
+ 'composer:showHelpTab': meta.config['composer:showHelpTab'] === 1,
222
223
  },
223
224
  };
224
225
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-composer-default",
3
- "version": "10.2.19",
3
+ "version": "10.2.20",
4
4
  "description": "Default composer for NodeBB",
5
5
  "main": "library.js",
6
6
  "repository": {
@@ -1,20 +1,23 @@
1
- html,
2
- body.page-compose,
3
- .page-compose #content,
4
- .page-compose #panel {
5
- height: 100%;
6
- }
7
-
8
- body.page-compose {
9
- padding-bottom: 0 !important;
10
- }
11
-
12
1
  .page-compose .composer {
13
- height: 100%;
14
2
  z-index: initial;
15
3
  position: static;
4
+ [data-action="hide"] {
5
+ display: none;
6
+ }
16
7
  }
17
8
 
18
9
  .zen-mode .page-compose .composer {
19
10
  position: absolute;
20
- }
11
+ }
12
+ .page-compose {
13
+ &.skin-noskin, &.skin-cosmo, &.skin-flatly,
14
+ &.skin-journal, &.skin-litera, &.skin-minty, &.skin-pulse,
15
+ &.skin-sandstone, &.skin-sketchy, &.skin-spacelab, &.skin-united,
16
+ &.skin-cerulean, &.skin-lumen, &.skin-lux, &.skin-morph,
17
+ &.skin-simplex, &.skin-yeti, &.skin-zephyr {
18
+ .composer {
19
+ color: var(--bs-body-color) !important;
20
+ background-color: var(--bs-body-bg) !important;
21
+ }
22
+ }
23
+ }
@@ -1,5 +1,5 @@
1
- <div component="composer" class="composer{{{ if resizable }}} resizable{{{ end }}}{{{ if !isTopicOrMain }}} reply{{{ end }}}"{{{ if !disabled }}} style="visibility: inherit;"{{{ end }}}>
2
- <div class="composer-container">
1
+ <div component="composer" class="composer pb-3 h-100 {{{ if resizable }}} resizable{{{ end }}}{{{ if !isTopicOrMain }}} reply{{{ end }}}"{{{ if !disabled }}} style="visibility: inherit;"{{{ end }}}>
2
+ <div class="composer-container d-flex flex-column gap-1 h-100">
3
3
  <form id="compose-form" method="post">
4
4
  {{{ if pid }}}
5
5
  <input type="hidden" name="pid" value="{pid}" />