Giter Club home page Giter Club logo

Comments (7)

ollyde avatar ollyde commented on August 11, 2024

I've been hunting for a decent mobile markdown editor for days now. No luck they are all broken.

from react-native-simple-markdown.

marudy avatar marudy commented on August 11, 2024

Hey guys, any update / solution for this one?

from react-native-simple-markdown.

lucasromanojf avatar lucasromanojf commented on August 11, 2024

Mine fails when using lists, like:

  • bla bla bla
  • bla bla bla
    ....

from react-native-simple-markdown.

ollyde avatar ollyde commented on August 11, 2024

I gave up, just use a WebView with https://quilljs.com/ << Best one.

from react-native-simple-markdown.

lucasromanojf avatar lucasromanojf commented on August 11, 2024

@voidstarfire I'll take a look, thanks for the tip!

from react-native-simple-markdown.

atamano avatar atamano commented on August 11, 2024

here is a quickfix, you'll need to add a patch:

patch-package
--- a/node_modules/react-native-simple-markdown/rules.js
+++ b/node_modules/react-native-simple-markdown/rules.js
@@ -141,7 +141,7 @@ export default (styles) => ({
   },
   paragraph: {
     react: (node, output, state) => {
-      return createElement(View, {
+      return createElement(Text, {
         key: state.key,
         style: styles.paragraph
       }, output(node.content, state))

from react-native-simple-markdown.

ollyde avatar ollyde commented on August 11, 2024

I ended up using Quill.
It's excellent and has lots of nice UI/Formatting automations.

from react-native-simple-markdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.