Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: neos/neos-ui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6e86c3d9c79b304b113d17b4ecc565509e86df84
Choose a base ref
..
head repository: neos/neos-ui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8034d9dd1c3460655bbe62437c6eb621e1fdea11
Choose a head ref
Showing with 0 additions and 3 deletions.
  1. +0 −3 Tests/IntegrationTests/utils.js
3 changes: 0 additions & 3 deletions Tests/IntegrationTests/utils.js
Original file line number Diff line number Diff line change
@@ -85,12 +85,10 @@ export async function typeTextInline(t, selector, text, textType, switchToIframe
};

if (!Object.keys(textTypeToTagMap).includes(textType)) {
console.warn('Invalid textType, defaulting to "paragraph".');
textType = 'paragraph';
}

const tagName = textTypeToTagMap[textType] || '';

try {
const contentIframeSelector = Selector('[name="neos-content-main"]', {timeout: 2000});

@@ -102,7 +100,6 @@ export async function typeTextInline(t, selector, text, textType, switchToIframe
const element = window.document.querySelector(selector);
const editor = element.closest('.ck-editor__editable');
const content = tagName !== '' ? `<${tagName}>${text}</${tagName}>` : text;
console.log('content', content);
editor.ckeditorInstance.data.set(content);
},
{dependencies: {selector, text, tagName}}