Table Mode

Hello.

Is there a way to emulate (or have a simplified version of) the Emacs table mode in CodeMirror?

https://www.emacswiki.org/emacs/TableMode

Thanks,
Best
P

I suppose you could implement something similar, but I don’t think anything like it exists yet (and emulating emacs modes is probably not realistic—the API they build on is huge, and includes a programming language).

Thanks,

I wonder if I can, at least, overlay a contenteditable table made with divs over a codemirror texteditor.
There’s an addWidget() function, I tried it, but it seems that it’s not possible to use the texteditor’s content as the table’s content…

Can you give me a feedback about this?

Best,
P

No, that’s not something that’s supported—I assumed you were thinking about ascii-art tables as in the emacs mode.