Skip to content

List formatting is not retained when AI response is used, check other formatting as well

victor mutai requested to merge 852-list-formatting-ai-response into master

Related to #101 (closed) and #852

Testing

  1. Change response in DummyPromise https://gitlab.coko.foundation/wax/wax-prosemirror/-/blob/master/editors/demo/src/Editoria/config/config.js?ref_type=heads#L56
  2. Use one of the below responses to test

Responses from chatGPT

1. Rose\n2. Lily\n3. Sunflower\n4. Tulip\n5. Daisy\n6. Orchid\n7. Carnation\n8. Hydrangea\n9. Peony\n10. Gerbera\n11. Iris\n12. Chrysanthemum\n13. Lavender\n14. Marigold\n15. Pansy\n16. Snapdragon\n17. Daffodil\n18. Poppy\n19. Zinnia\n20. Dahlia


Sure! Here is a list of flowers:\n\n1. Rose\n2. Lily\n3. Tulip\n4. Sunflower\n5. Daisy\n6. Orchid\n7. Carnation\n8. Hydrangea\n9. Peony\n10. Daffodil\n11. Gerbera\n12. Iris\n13. Chrysanthemum\n14. Lavender\n15. Marigold\n\nI hope you find this list helpful!


- Rose\n- Lily\n- Sunflower\n- Tulip\n- Daisy\n- Orchid\n- Carnation\n- Hydrangea\n- Peony\n- Daffodil\n- Iris\n- Gerbera\n- Chrysanthemum\n- Marigold\n- Pansy\n- Lavender\n- Snapdragon\n- Zinnia\n- Poppy\n- Hibiscus


In the realm of\ndreams, where wonders reside,\n\nA poet's heart, with words
Edited by victor mutai

Merge request reports