Open W4RH4WK opened 10 years ago
Ugh, yeah. This is probably because we strip out everything on paste so it doesn't paste formatted HTML. Looks like we're ripping out spaces too, but maybe we can preserve just those.
@W4RH4WK - if you want to attempt it yourself in the uncompressed epiceditor.js it is lines 994,995
content = content.replace(/\s\s\s/g, ' ')
content = content.replace(/\s\s/g, ' ')
removing the lines would be a working solution but it might not have the desired effect for all people.
what do you guys think about toggling the pasteHandler on or off?
just checked out this editor, looks very promising, probably gonna use this in the near future.
apparently copying a text segment containing multiple spaces and inserting it again does not work properly.