add resources for input text/url in context menu.