editor-js / document-model

❗️WIP❗️
Apache License 2.0
10 stars 2 forks source link

feat: improve `BlockToolAdapter` #68

Closed himself65 closed 1 week ago

himself65 commented 7 months ago

Checklist

gohabereg commented 6 months ago

for html textarea, should we create a new paragraph or something when user press Enter?

No, we'd like to preserve browser behaviour there. If some other behaviour is desired by a tool it should be implemented by the tool

himself65 commented 6 months ago

We'd like to preserve browser behavior there.

Is it a good idea that keep the default behavior?

image

Benefit is we don't need to handle all cases for cross-browser manually, but I think there would be some issue when bringing the collaborative feature in

Never mind, bad idea