How-to create html editor with context buttons

https://manajmnt-code.blogspot.com/2021/04/how-to-create-html-editor-with-context.html
In this example i will be share with you how to create html editor with context buttons using codemirror library and JavaScript [ Document.execCommand() ]

Toggle between creation mode and editor mode like [ blogger editor ] using codemirror & JavaScript

https://manajmnt-code.blogspot.com/2021/04/toggle-between-creation-mode-and-editor.html
In this code Iwill be share with you how to Toggle between creation mode and editor mode like [ blogger editor ] using codemirror & JavaScript

Show and edit source code of div on button clicked like WYSIWYG editor

https://manajmnt-code.blogspot.com/2021/04/show-and-edit-source-code-of-div-on.html
To make toggle between creation mode and code mode you need to create div tag with contenteditable attribute and textarea tag and button to toggle Between them.
we will be use javascript code bellow to do this,

How-to select & copy code from codemirror editor with button

https://manajmnt-code.blogspot.com/2021/04/how-to-select-copy-code-from-codemirror.html
I will be share with you how to select code in editor and copy it using javascript Method [ focus() ,execCommand("selectAll"), execCommand("copy") ]