WYSIWYG-editor with its toolbar adapts to the specific format of an uploaded document, enabling those features and possibilities, which are actual for only this format and disabling those, which are not related. In particular, for WordProcessing documents like DOC, DOCX, RTF, and ODT, all toolbar features will be unlocked and the document content will be splitted on the separate pages, like in MS Word or Google Docs.