@lblod/ember-rdfa-editor-lblod-plugins 24.2.0 → 24.2.2-dev.d1729ac92bb0fed8439d82dfa2636097565c5f81
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,17 @@
|
|
|
1
1
|
# @lblod/ember-rdfa-editor-lblod-plugins
|
|
2
2
|
|
|
3
|
+
## 24.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`651d431`](https://github.com/lblod/ember-rdfa-editor-lblod-plugins/commit/651d431f79c13ee85f9265cc01a7389e71392716) Thanks [@abeforgit](https://github.com/abeforgit)! - Allow block content in template comments
|
|
8
|
+
|
|
9
|
+
## 24.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
3
15
|
## 24.2.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -162,7 +162,7 @@ export const emberNodeConfig: () => EmberNodeConfig = () => {
|
|
|
162
162
|
},
|
|
163
163
|
number.toString(),
|
|
164
164
|
],
|
|
165
|
-
'.',
|
|
165
|
+
isOnlyArticle ? '' : '.',
|
|
166
166
|
];
|
|
167
167
|
}
|
|
168
168
|
return renderRdfaAware({
|
|
@@ -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
|
}
|
|
@@ -24,7 +24,7 @@ export const emberNodeConfig: () => EmberNodeConfig = () => {
|
|
|
24
24
|
component: TemplateCommentsComponent as unknown as ComponentLike,
|
|
25
25
|
inline: false,
|
|
26
26
|
group: 'block',
|
|
27
|
-
content: '
|
|
27
|
+
content: 'block+',
|
|
28
28
|
draggable: false,
|
|
29
29
|
selectable: true,
|
|
30
30
|
isolating: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lblod/ember-rdfa-editor-lblod-plugins",
|
|
3
|
-
"version": "24.2.
|
|
3
|
+
"version": "24.2.2-dev.d1729ac92bb0fed8439d82dfa2636097565c5f81",
|
|
4
4
|
"description": "Ember addon providing lblod specific plugins for the ember-rdfa-editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|