Replies: 14 comments 7 replies
-
What does this suppose to mean? 🤔 |
Beta Was this translation helpful? Give feedback.
-
It means that's unfortunate, since this library makes ** heavy ** usage of |
Beta Was this translation helpful? Give feedback.
-
Nope :( and I am using it in my upcoming project. Might have to remove it |
Beta Was this translation helpful? Give feedback.
-
FYI, almost all other WYSIWYG editors will also be using |
Beta Was this translation helpful? Give feedback.
-
So sad. |
Beta Was this translation helpful? Give feedback.
-
I'd be surprised if this was removed any time soon. Are you still working on Pell, @jaredreich ? |
Beta Was this translation helpful? Give feedback.
-
@danleyb2 I agree with VaelVictus, I don't think |
Beta Was this translation helpful? Give feedback.
-
@VaelVictus I have been actually, but unfortunately it's been going extremely slow due to work and life stuff... you know. I'd like to get ramped up asap and solve all the issues and release v2. |
Beta Was this translation helpful? Give feedback.
-
Looking at the codebase of Squire, TinyMCE, Medium Editor & Trix and all use execCommand at some capacity. Others that don't are just too bulky for my taste. |
Beta Was this translation helpful? Give feedback.
-
@jaredreich Are you still interested in a v2? There are some nice pull requests you might want to review for v1. |
Beta Was this translation helpful? Give feedback.
-
trix use its own document model but Ithink what makes pell is the lightest is because its using execCommand @jaredreich you want open disscussions for the repo? because I think some issues better to be as a question instead an issue edit: |
Beta Was this translation helpful? Give feedback.
-
@jaredreich None of the editors that are of production quality are using execCommand. We have added that notification there many years ago. I am very sorry that you have spent time creating an editor on top of execCommand. it is precisely what we wanted to avoid people wasting their time on. There have been alternative technologies for many years that editors have been built on. See for example the |
Beta Was this translation helpful? Give feedback.
-
@jaredreich I have been the editor of the execCommand spec for the past decade or so. See https://w3c.github.io/editing/docs/execCommand/ . I am also the editor of the input events spec that has been implemented in all the browsers for some years now. I have just given up being the editor of the execCommand spec and came across this editor by accident. At the very beginning of the execCommand spec there is a big warning that we placed there to avoid having people waste their time on trying to create editors based on it. I wasted several years on that myself more than a decade ago. I am so sorry that we apparently weren't clear enough. It's just not possible to create an editor that behaves the same everywhere, works across browser versions, with working change history, etc. with execCommand. @ShahrukhAhmed89 I looked at the source code of Squire today. ExecCommand is used for just one thing in Squire: It turns of some extra table controls on Firefox to make it behave like other browsers. This used to be built into all editors a few years ago. Firefox has since changed so that these commands no longer are necessary. Some editors, like Squire, have not yet removed these commands. I have filed an issue with Squire to explain. |
Beta Was this translation helpful? Give feedback.
-
https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand
Mozilla docs says:
Beta Was this translation helpful? Give feedback.
All reactions