pell
pell copied to clipboard
Safari: RangeError: Maximum call stack size exceeded.
I'm not sure if it's valid to use br as a defaultParagraphSeparator, but when using that it generates an error on Safari on this line:
if (firstChild && firstChild.nodeType === 3) exec(formatBlock, '<' + defaultParagraphSeparator + '>');else if (content.innerHTML === '<br>')
It seems to work okay in other browsers.
Thanks for the report
@litemotiv are you still experiencing this issue?
@litemotiv are you still experiencing this issue?
I don't own a Mac personally so i cannot test this easily. I believe there have not been any updates to this code in Pell, so unless the latest version(s) of Safari have changed the behavior in this scenario the issue could likely still be present. At this point i cannot say anything definitive about it though...
@litemotiv are you still experiencing this issue?
I don't own a Mac personally so i cannot test this easily. I believe there have not been any updates to this code in Pell, so unless the latest version(s) of Safari have changed the behavior in this scenario the issue could likely still be present. At this point i cannot say anything definitive about it though...
I see, thanks for replying
Mac user here, problem still exists using safari
This problem still exists in the current Safari 14.0. I could solve it locally by adjusting my configuration to read
pell.init({
…
defaultParagraphSeparator: 'br/',
…
})
Also experiencing this. Will try the fix mentioned above.