@lblod/ember-rdfa-editor-lblod-plugins 24.2.0 → 24.2.1
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @lblod/ember-rdfa-editor-lblod-plugins
|
|
2
2
|
|
|
3
|
+
## 24.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#490](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/pull/490) [`816bb59`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/816bb59edb6e8e51dee6ee1ad26acb1b7ad44761) Thanks [@lagartoverde](https://github.com/lagartoverde)! - parse articles also from templates
|
|
8
|
+
|
|
3
9
|
## 24.2.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -252,6 +252,9 @@ export const emberNodeConfig: () => EmberNodeConfig = () => {
|
|
|
252
252
|
`span[property~='${ELI('number').prefixed}'],
|
|
253
253
|
span[property~='${ELI('number').full}']`,
|
|
254
254
|
);
|
|
255
|
+
const isOnlyArticle =
|
|
256
|
+
node.dataset.sayIsOnlyArticle &&
|
|
257
|
+
node.dataset.sayIsOnlyArticle !== 'false';
|
|
255
258
|
const number = numberNode?.textContent
|
|
256
259
|
? parseInt(numberNode.textContent, 10)
|
|
257
260
|
: 1;
|
|
@@ -274,7 +277,7 @@ export const emberNodeConfig: () => EmberNodeConfig = () => {
|
|
|
274
277
|
structureType: 'article',
|
|
275
278
|
displayStructureName: true,
|
|
276
279
|
hasTitle: false,
|
|
277
|
-
isOnlyArticle
|
|
280
|
+
isOnlyArticle,
|
|
278
281
|
number,
|
|
279
282
|
};
|
|
280
283
|
}
|