firefox loses id on newline creation (from enter key)
set max width on images
handle paste
take scroll into account in tooltip position
fix bug where link setting does not work in advanced demo
quick fixes for mobile