resources/js/wysiwyg-tinymce/fixes.js
Function handleTableCellRangeEvents
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function handleTableCellRangeEvents(editor) {
/** @var {HTMLTableCellElement[]} * */
let selectedCells = [];
editor.on('TableSelectionChange', event => {
Function handleEmbedAlignmentChanges
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function handleEmbedAlignmentChanges(editor) {
function updateClassesForPreview(previewElem) {
const mediaTarget = previewElem.querySelector('iframe, video');
if (!mediaTarget) {
return;