Invalid selectors and other issues in editor.js cause pasted text not to be normalized

  • Thread starter Thread starter Mick West
  • Start date Start date

Mick West

Guest
Member
Copying and pasting formatted text should remove most formatting like colors and font size.

However, editor.js has two instances of
JavaScript:

table.querySelectorAll('> tbody > tr')
and two of
JavaScript:

row.querySelectorAll('> td, > th')

in
JavaScript:

Code:
let maxColumns = 0
table.querySelectorAll('> tbody > tr').forEach(row =>
{
const columnCount = row.querySelectorAll('> td, > th').length
    maxColumns = Math.max(maxColumns, columnCount)
})

table.querySelectorAll('> tbody > tr').forEach(row =>
{
const...

Read more
Invalid selectors and other issues in editor.js cause pasted text not to be normalized

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Top