Use replaceElement (which causes tracked positions to be updated) instead of renameElement (which didn't, and has now been removed)
Use replaceElement (which causes tracked positions to be updated) instead of renameElement
(which didn't, and has now been removed)

corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editor,corinthia/corinthia-editorlib,corinthia/corinthia-editorlib,corinthia/corinthia-editor,corinthia/corinthia-editorlib