revert cy test

This commit is contained in:
Lorenz Padberg 2024-03-18 14:35:15 +01:00
parent 0a8dcd8828
commit 07afdbe5f5
1 changed files with 4 additions and 4 deletions

View File

@ -175,10 +175,10 @@ export const getSelectionHandler =
const selector = parentSelector ? parentSelector : 'content-component'; const selector = parentSelector ? parentSelector : 'content-component';
const contentComponent = findClosestAncestorWithClass(startContainer, selector); const contentComponent = findClosestAncestorWithClass(startContainer, selector);
if (contentComponent) { if (contentComponent) {
// if (contentComponent.classList.contains('content-component--solution')) { if (contentComponent.classList.contains('content-component--solution')) {
// // Lorenz: I added this to prevent highlighting of the solution. It ain't pretty, but it works // Lorenz: I added this to prevent highlighting of the solution. It ain't pretty, but it works
// return; return;
// } }
// our selection is wholly inside the container node, we continue with it // our selection is wholly inside the container node, we continue with it
const position = findPositionInParent(contentComponent); const position = findPositionInParent(contentComponent);
const uuid = contentComponent.dataset.uuid || ''; const uuid = contentComponent.dataset.uuid || '';