bloom-player 2.11.0 → 2.11.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/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "A library for displaying Bloom books in iframes or WebViews",
|
|
4
4
|
"author": "SIL Global",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "2.11.
|
|
6
|
+
"version": "2.11.1",
|
|
7
7
|
"private": false,
|
|
8
8
|
"// sideeffects might need to be ['*.css'] to avoid 'shaking' our CSS, if we ever get tree shaking working": "",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -1166,6 +1166,12 @@ export function copyContentToTarget(draggable: HTMLElement) {
|
|
|
1166
1166
|
Array.from(throwAway.querySelectorAll("[contenteditable]")).forEach((e) => {
|
|
1167
1167
|
e.removeAttribute("contenteditable");
|
|
1168
1168
|
});
|
|
1169
|
+
// Content is not recordable inside the target.
|
|
1170
|
+
Array.from(throwAway.getElementsByClassName("ui-audioCurrent")).forEach(
|
|
1171
|
+
(e) => {
|
|
1172
|
+
e.classList.remove("ui-audioCurrent");
|
|
1173
|
+
},
|
|
1174
|
+
);
|
|
1169
1175
|
// Nor should we able to tab to it, or focus it.
|
|
1170
1176
|
Array.from(throwAway.querySelectorAll("[tabindex]")).forEach((e) => {
|
|
1171
1177
|
e.removeAttribute("tabindex");
|