cjwirth / RichEditorView

RichEditorView is a simple, modular, drop-in UIView subclass for Rich Text Editing.
BSD 3-Clause "New" or "Revised" License
1.9k stars 445 forks source link

Can not input "+" #130

Closed chinnkou closed 7 years ago

chinnkou commented 7 years ago

I can't input "+", and found the below code in rich_editor.js

RE.setHtml = function(contents) { RE.editor.innerHTML = decodeURIComponent(contents.replace(/+/g, '%20')); }

why replace "+"?

chinnkou commented 7 years ago

This is an issue for android.