I want to build some tiny wysiwyg Editor for using it to create a decorational free-text module on user profiles and guestbook. It has to be full customizable within code so that third party editors like scedit wont work. I want to mix generic text formatting and site specific content like [mofiimg] [mofiemoticon] which are stored and read within a database. Ive managed to create some wysiwyg editor with document.execcommand() command but this could stop working since its depreciated at any time. Are there any apis / librarys to work with text and dom that are no text editors, just the api/library to modify Text and imaging stuff?