text editor limit: add trim, propagation stop