Reused methods from drafts.js
function no longer needed
build complete