It is possible to tigger something when the user press enter (new paragraph) using OT features? Like a sustitution for example.
No. Substitutions can only substitute glyphs.
You can, however, do something if no glyph is following, with an ignore statement like “ignore sub x’ @allGlyphs;”
Thanks, will dig into this.