Comments (14)
I would love to create the Notion-like table. you can assign me to this issue.
The CodeBlock
, BlockQuote
, HorizontalRule
are not listed on the selectors that's why I thought those are not implemented yet.
from novel.
Hey @steven-tey π
I created the Table format and implemented it in the editor, now I want feedback from you to before making the pr-request
Untitled.video.-.Made.with.Clipchamp.12.mp4
I have added:
- Adding & deleting Column
- Adding & deleting Row
- Delete Table
- A mune for the table
from novel.
After thinking about the first approach, I think I'm not so happy with it. I would prefer a more context-aware table like e.g. Figma Tables (The icons would be also simpler)
https://github.com/steven-tey/novel/assets/87228994/1d56ed93-f06f-413b-b63a-0d05816db5eb
(The table column delete
in the video is happening with keyboard shortcut)
What do you think?
from novel.
@mmailaender that one looks incredible! Similar concept to Notion's implementation, which I really like
Would be incredible if we can implement that in Novel!
from novel.
@ashrafchowdury thanks for checking βΒ definitely the first one! Let's use the simple table in Notion as reference :)
from novel.
Quick update: Codeblock and blockquote have been added to slash menu in #35
from novel.
@steven-tey, @ashrafchowdury some suggestions for the icons:
If you like them, I provide the SVG code.
from novel.
I can add more useable formats to the editor, if you like the idea you can assign me to do this work.
from novel.
CodeBlock
, BlockQuote
and HorizontalRule
are actually all supported!
Would love to add tables though β feel free to PR! You can use Tiptap tables as reference but would love to make it have a similar UX as Notion's tables (hover to add rows/tables)
from novel.
Hey @steven-tey a quick question for you, I have to table design mockup for the editor, which one do you think is the best for users π
This is clean and very much user-friendly.
This is a bit complex and requires a lot of functionalities.
from novel.
@ashrafchowdury looks incredible π€― only thing I can think of is the icons might not be clear enough π
Also, would it be possible to rearrange the columns?
Feel free to go ahead and add that PR and we can iterate on this!
P.S.: what does "a mune for the table" mean?
from novel.
@mmailaender we are using the lucide icon library for the project icons π
from novel.
@mmailaender we are using the lucide icon library for the project icons π
Except from the first icon they are self crafted, because we had the same situation that @steven-tey talks about, that e.g. the lucid icons don't have expressive icons for table.
from novel.
That looks really clean & awesome π
If we wanted to add that type of table then we have to spend a bit of time to build it from scratch.
from novel.
Related Issues (20)
- Can't access to the editor instance to change content programmatically HOT 2
- β TS Errors need to be fixed on null of editor for lastest version of Novel HOT 2
- πbug: editable={false} doesn't prevent editing content HOT 1
- feat: Possibility to await a slash command and display a loading spinner?
- feat: Easy way to reference the editor outside the EditorContent HOT 2
- Error after typing any character after '/' HOT 4
- feat: Support for custom Open AI API URL HOT 1
- bug: codeblock-lowlight doesn't render in html output HOT 1
- Cannot find module 'novel/extensions' or its corresponding type declarations. HOT 2
- Cannot set text color when the text is bold HOT 1
- Cannot import Editor from novel bug: HOT 1
- feat: For novel-vue, is there a way to integrate image upload to display as base64?
- feat: add a EditorCommandSeparator
- feat: Allow Markdown and Html in InitialContent HOT 2
- bug: Text selection marks disappear when using the AI Extension w/ Collaboration + HocupocusProvider
- bug: Can't close bubble menu
- feat: Can you create a full guide on integration in NextJS because there is so much error with using your documentation HOT 1
- bug: Usage of `editor.chain().focus()` removes focus from tippy popover
- feat: Pasting Markdown Support
- bug: image blue box selection doesn't change
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from novel.