Support decorations without path (#2697)
Support decorations without path (#2697)

* Add support with warning for decorations without paths

* Fix linting

* Update text.js

* Update text.js

ianstormtaylor/slate,ianstormtaylor/slate,isubastiCadmus/slate