Has anybody been able to figure out how to allow a user to write a long article, other than the rich text editor, which is not an option because the big ugly text in the header labelled “Rich Text Editor,” which halfway cuts off the Cancel Tab, cannot be removed. (Don’t know who made that, and why.) But anyway, I have a primitive input for title, and one for content. In native build, once a user writes a paragraph and tries to write more, the entire input component disappears. I placed it in a scroll view because when I tried without the scroll view the user cannot see anything once they write an amount which is larger than their viewport with keyboard open, and I could not figure out a way to make the input scroll. The non-primitive input will not even show up in native build.
The only other thing I can think of is to try to create a repeater list (not visible until user writes a paragraph or another block) and create a container with a Heading (large text), a paragraph (small text), a link (highlighted text), and an image, and then one input with an option for the user to create one of those blocks (button for image), then when the user hits enter (or maybe a check mark icon), add the data as an item with the appropriate key to the repeater list, then write to database as a nested list in the entry, so that the entire array becomes the article displayed in the appropriate order. So maybe a story could look like this in database:
…title: My story
That way, when displaying the data, I could just use different components depending on what the block is labeled.
The blocks would have to be written with a number key, so that they could be ordered properly, and then the block-type nested within the entry in the list.???
I don’t know. Do you see where I am going with this? I need to somehow create something similar to a markdown editor, but also be able to make it look nice, as the current rich text editor does not.
If I can humbly encourage the people who are making these components to please place more focus on design and user-experience so that the components you are making could actually be used, it would go a long way to making Appgyver a great app builder.
If anyone else has any ideas on how to enable a user to write a long article in an input without a bad experience, please let’s collaborate on this.