insert image on Text Editor Source Code:
https://drive.google.com/file/d/1e8CW...
Full tutorial of html editor from scratch html,css and js
• 19th JavaScript Project - HTML editor...
1. explain the html and css
2. add paragraph in html editor
1. call the button in js
2. add listener click to the button
3. run execCommand() to append html in editable div
3. add image to html editor and float left
1. call the button and input[type='file'] field in js by id
2. add click listener to the button
3. on click the button click the input[type='file'] field
4. add listener change on input[type='file'] field
5. create FileReader object
6. get the choosen file from input type='file' using its index
8. append the image using execCommand by reader.onload
9. read the file name in js by readAsDataURL()
10. abort the fileReader
11. if file is chosen then readAsDataURL()
4. add image to html editor and float right
1. same as above
2. change the FileReader() reference variable name
3. change variable name of choosenfile usin this.files[0]
En esta página del sitio puede ver el video en línea Ep49 - Insert image to Text Editor Javascript Source Code de Duración hora minuto segunda en buena calidad , que subió el usuario UI Monk 02 junio 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,197 veces y le gustó 12 a los espectadores. Disfruta viendo!