hoodcms 5.0.15 → 5.0.16

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/src/js/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * hoodcms v5.0.15
2
+ * hoodcms v5.0.16
3
3
  * A fully customisable content management system built in ASP.NET Core 5 & Bootstrap 5.
4
4
  * Written by George Whysall, 2022
5
5
  * Released under the GPL-3.0 License.
@@ -321,7 +321,7 @@
321
321
  * For LGPL see License.txt in the project root for license information.
322
322
  * For commercial licenses see https://www.tiny.cloud/
323
323
  *
324
- * Version: 5.10.2 (2021-11-17)
324
+ * Version: 5.10.3 (2022-02-09)
325
325
  */
326
326
 
327
327
  (function (module) {
@@ -16610,8 +16610,11 @@
16610
16610
  var children = from(node.childNodes);
16611
16611
  if (contentEditable && !hasContentEditableState) {
16612
16612
  var removed = removeNodeFormat(node);
16613
+ var currentNodeMatches = removed || exists(formatList, function (f) {
16614
+ return matchName$1(dom, node, f);
16615
+ });
16613
16616
  var parentNode = node.parentNode;
16614
- if (!removed && isNonNullable(parentNode) && shouldExpandToSelector(format)) {
16617
+ if (!currentNodeMatches && isNonNullable(parentNode) && shouldExpandToSelector(format)) {
16615
16618
  removeNodeFormat(parentNode);
16616
16619
  }
16617
16620
  }
@@ -29319,8 +29322,8 @@
29319
29322
  suffix: null,
29320
29323
  $: DomQuery,
29321
29324
  majorVersion: '5',
29322
- minorVersion: '10.2',
29323
- releaseDate: '2021-11-17',
29325
+ minorVersion: '10.3',
29326
+ releaseDate: '2022-02-09',
29324
29327
  editors: legacyEditors,
29325
29328
  i18n: I18n,
29326
29329
  activeEditor: null,