add upload pattern. Integrate with tinymce