Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marijn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
marijn
9y ago
I've added a bitcoin address (but didn't integrate it into the automated checkout flow, so you'd have to email me to claim perks).
92.
▲
by
marijn
9y ago
I've made them a little brighter, hope that helps.
93.
▲
by
marijn
9y ago
I finally figured out how to apply a functional / unidirectional data flow architecture to the (demanding) case of an editor. And yes, there are plans to integrate this into CodeMirror at some point.
94.
▲
by
marijn
9y ago
Markdown demo should be fixed now, thanks!
95.
▲
by
marijn
9y ago
Thanks once more -- that was another build problem.
96.
▲
by
marijn
9y ago
Yes, it uses contentEditable. There's a write-up from last year at http://marijnhaverbeke.nl/blog/prosemirror.html . Some details have changed (we make more use of DOM diffing and mutation observers than initially
97.
▲
by
marijn
9y ago
Thanks for letting me know! I was failing to include a CSS file—should be better now.
98.
▲
by
marijn
9y ago
Yes, I have a small patreon at https://www.patreon.com/marijn . Right now I'm also running a crowd-funding for the new edition of my book at https://eloquentjavascript.net/3rd_edition/
99.
▲
by
marijn
9y ago
That's great to hear! Learning curve is definitely something that's tricky with a library like this (big, modular, with concepts that are unfamiliar to many), so I've tried to compensate with consistency and lots of documenta
100.
▲
by
marijn
9y ago
I wrote this. I'll be monitoring this thread and responding to questions here for the next few hours.
101.
▲
by
marijn
9y ago
I assume NoStarch.com will have them available for pre-order in a month or so.
102.
▲
by
marijn
9y ago
That is not a perk that's being offered.
103.
▲
by
marijn
9y ago
Thanks. I found the 'existance' typo. What do you mean by 'is run by'?
104.
▲
by
marijn
9y ago
I'd add that the assumptions that the specialized data structures (gap buffer and piece table) make are easily violated—someone mentioned a search-replace further down—at which point I can imagine their performance degrading unless spe
105.
▲
by
marijn
9y ago
ProseMirror was started 2 years ago, initially only targeted evergreen browser, and has recently grudgingly added support for IE11 because customers asked for it. But yeah, I guess for some parts of some of the older projects this may apply
106.
▲
by
marijn
9y ago
... more than a little, even. I'll talk to the designer of the logo.
107.
▲
by
marijn
9y ago
What do you mean by tooltips? There's a solution in the works for the latter problem.
108.
▲
by
marijn
9y ago
And those evergreen browsers are still doing terrible things when it comes to contentEditable, and they don't really have a lot of choice, because it's an underspecified poorly conceptualized idea that really doesn't leave th
109.
▲
by
marijn
9y ago
Thanks for pointing that out. CSS is hard. Should be fixed now.
110.
▲
by
marijn
9y ago
Good point -- I had some CSS attached to H1 nodes that accidentally also matched H1s in the editor. Should be fixed now.
111.
▲
by
marijn
9y ago
Nonsense, I've written a much smaller one: `function tinyEditor(element) { element.contentEditable = true }` That, plus a few crude buttons, is all this does. As several other comments point out, there's good reasons why real WYSI
112.
▲
by
marijn
9y ago
There's a long-standing tradition of using flagging to suppress unpopular links. Seems like it still works.
113.
▲
by
marijn
10y ago
> It's nice to look at I don't think it is -- it's full of the kind of features (complicated condition expressions, long chains of elses, hard-coded numbers) that, when I find myself writing them, suggest that I'm app
114.
▲
by
marijn
10y ago
Yes. They both just lower the code to ES5 syntax without introducing any incompatible constructs.
115.
▲
by
marijn
10y ago
That yields, amusingly, a blank page for me right now.
116.
▲
by
marijn
11y ago
Hahah, you think the other vendors are better? At least the Epson stuff I've owned is easy to install with Linux and doesn't break after a few months of use (contrary to various Canon and HP devices). If there exists a non-terribl
117.
▲
by
marijn
11y ago
Potentially relevant: CodeMirror's BTree representation http://marijnhaverbeke.nl/blog/codemirror-line-tree.html
118.
▲
by
marijn
11y ago
That's interesting, thanks for sharing.
119.
▲
by
marijn
11y ago
The project is now at a point where contributions would make sense -- the API is documented, and the design somewhat stable. The area I'd most like help with is finding and resolving bugs -- strange browser behavior (contentEditable is
120.
▲
by
marijn
11y ago
What kind of improvements would you want in the docs [1]? [1]: http://prosemirror.net/docs.html
More ›