AP-Students / website

1 stars 17 forks source link

Image and Link Tools for EditorJS #69

Closed sresri2 closed 1 month ago

sresri2 commented 1 month ago

Image & Link Tools for EditorJS Article Editor using server-side file w/ prisma.

Screenshot 2024-08-11 at 10 49 00 AM
manningwu07 commented 1 month ago

Screenshot 2024-08-12 at 9 17 15 AM make the commands more to the right; its really bad when the commands are in this position

manningwu07 commented 1 month ago

This will be specifically towards AProject employees right? We will store the articles in the database, where the clientside will fetch them for client interaction but not write access

manningwu07 commented 1 month ago

Screenshot 2024-08-12 at 9 25 12 AM The 3 dots need to have margins. I didnt see these at all and wondered why I couldn't delete. Maybe put a keybinding like shift + backspace to access that list?

manningwu07 commented 1 month ago

one last thing; if its possible to select the title so that the client code will be able to fetch the articles based on title key (i think its keyyed based on title; not sure) that would be great.

manningwu07 commented 1 month ago

Can you refactor the code to client (eg have client upload image, or paste a link in the input side, and then it will render properly on the output)? We aren't using a server anymore. Im going ot have a method that packages the article editor outputs into a json format, which can then be fetched from firebase and placed elsewhere. Send a new PR when you've made those happen.