adopt string editor to contenteditable

fixes #305