Testing Job
ICT ·
Pretoria ·
Internship · Entry level
About the role
The downside: document.execCommand is deprecated and inconsistent across browsers. Copy-pasting from Word brings messy HTML. You'd also need to sanitize the output server-side — which you're already doing with sanitizeHtml().
The pragmatic recommendation
Use the CSS to control how the editor looks. Use Summernote (or a similar lightweight editor) to handle the editing logic.
Responsibilities
The downside: document.execCommand is deprecated and inconsistent across browsers. Copy-pasting from Word brings messy HTML. You'd also need to sanitize the output server-side — which you're already doing with sanitizeHtml().
The pragmatic recommendation
Use the CSS to control how the editor looks. Use Summernote (or a similar lightweight editor) to handle the editing logic.
Requirements
The downside: document.execCommand is deprecated and inconsistent across browsers. Copy-pasting from Word brings messy HTML. You'd also need to sanitize the output server-side — which you're already doing with sanitizeHtml().
The pragmatic recommendation
Use the CSS to control how the editor looks. Use Summernote (or a similar lightweight editor) to handle the editing logic.
Benefits
The downside: document.execCommand is deprecated and inconsistent across browsers. Copy-pasting from Word brings messy HTML. You'd also need to sanitize the output server-side — which you're already doing with sanitizeHtml().
The pragmatic recommendation
Use the CSS to control how the editor looks. Use Summernote (or a similar lightweight editor) to handle the editing logic.
