@lblod/ember-rdfa-editor-lblod-plugins 2.1.1 → 2.1.2
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
|
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.1.2] - 2023-02-15
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- fixed subsection 'move down' dutch translation
|
|
15
|
+
- Hotfix: use content attribute as a fallback to extract the codelist URI
|
|
16
|
+
|
|
10
17
|
## [2.1.1] - 2023-02-07
|
|
11
18
|
|
|
12
19
|
### Changed
|
|
@@ -316,5 +323,6 @@ add onclick handler to pencil icon in variable plugin
|
|
|
316
323
|
|
|
317
324
|
# Changelog
|
|
318
325
|
|
|
319
|
-
[unreleased]: https://github.com/lblod/ember-rdfa-editor-lblod-plugins/compare/v2.1.
|
|
326
|
+
[unreleased]: https://github.com/lblod/ember-rdfa-editor-lblod-plugins/compare/v2.1.2...HEAD
|
|
327
|
+
[2.1.2]: https://github.com/lblod/ember-rdfa-editor-lblod-plugins/compare/v2.1.1...v2.1.2
|
|
320
328
|
[2.1.1]: https://github.com/lblod/ember-rdfa-editor-lblod-plugins/compare/v2.1.0...v2.1.1
|
|
@@ -102,9 +102,12 @@ const emberNodeConfig: EmberNodeConfig = {
|
|
|
102
102
|
.find((el) => hasRDFaAttribute(el, 'property', EXT('instance')))
|
|
103
103
|
?.getAttribute('resource');
|
|
104
104
|
const mappingResource = node.getAttribute('resource');
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
const codelistSpan = [...node.children].find((el) =>
|
|
106
|
+
hasRDFaAttribute(el, 'property', EXT('codelist'))
|
|
107
|
+
);
|
|
108
|
+
const codelistResource =
|
|
109
|
+
codelistSpan?.getAttribute('resource') ??
|
|
110
|
+
codelistSpan?.getAttribute('content');
|
|
108
111
|
const source = [...node.children]
|
|
109
112
|
.find((el) => hasRDFaAttribute(el, 'property', DCT('source')))
|
|
110
113
|
?.getAttribute('resource');
|
package/package.json
CHANGED
package/translations/nl-BE.yaml
CHANGED
|
@@ -134,7 +134,7 @@ article-structure-plugin:
|
|
|
134
134
|
title: Titel naar beneden verplaatsen
|
|
135
135
|
chapter: Hoofdstuk naar beneden verplaatsen
|
|
136
136
|
section: Afdeling naar beneden verplaatsen
|
|
137
|
-
subsection: Onderafdeling naar
|
|
137
|
+
subsection: Onderafdeling naar beneden verplaatsen
|
|
138
138
|
title:
|
|
139
139
|
structure-card: Structuur card
|
|
140
140
|
remove:
|