participedia / frontend

DEPRECATED - see https://github.com/participedia/api/ instead
MIT License
3 stars 2 forks source link

Case Narrative - html editor #813

Open scottofletcher opened 6 years ago

scottofletcher commented 6 years ago

From Robert Richards:

"I'm starting to edit and write cases and methods on Participedia.xyz . I need to edit some HTML in a case (https://participedia.xyz/method/4983), but I can't figure out how to do this."

Scott's two-cents: I agree that the old narrative field was easier to use - ie. fixed in place w/scrolling bar + ability to disable rich text. Since we're integrating that first feature, might we integrate the second?

jesicarson commented 6 years ago

we only need one issue to cover this, and this one is more accurate to the problem: https://github.com/participedia/frontend/issues/815

unfortunately, the fact that existing anchors don't carry over to xyz is a problem that may take many hours of manual editing (even if we do add a footnote tool or allow html access)... not sure if there's any way to mitigate this. maybe @dethe has an idea? I'm wondering what will take longer - a coded/ automated solution or manual editing of many cases? OR... does it really matter if the footnotes don't link to the reference list? The number is there, and the list is numbered...

jesicarson commented 6 years ago

There's also an issue for the narrative box needing a scroll bar: https://github.com/participedia/usersnaps/issues/169

so this issue can be closed.

ascott commented 5 years ago

this is a different issue from the scroll bar so re-opening.

here's an example of adding html editing to the Quill.js editor: https://codepen.io/anon/pen/ZyEjrQ