app/vue/lib/tiptap/node_paste_rule.js
Function nodePasteRule
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function nodePasteRule(regexp, type, getAttrs) {
const handler = fragment => {
const nodes = [];
fragment.forEach(child => {
Function handler
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const handler = fragment => {
const nodes = [];
fragment.forEach(child => {
if (child.isText) {