Does XWiki have a text mode editor?
When you edit a page, there are two tabs at the top: WYSIWYG and Wiki. If you choose the tab labeled WYSIWYG, you’re using the WYSIWYG editor and if you choose Wiki, you’re using the XWiki markup editor. If you have text already in a separate file: • if you paste the text into the WYSIWYG editor, it’s just there as text until you choose to format it; • if you paste the text into the Wiki editor, it’s there as text but certain characters will be interpreted as Wiki markup when it displays.