-
-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Start" attribute not working for Ordered List #336
Labels
Comments
I wrote this to support the
Just add it as a prop to wherever you need to support the start attribute like so:
|
jsamr
added a commit
that referenced
this issue
Apr 17, 2021
This commit is a substantial refactor of lists, which now use @jsamr/react-native-li library to display markers with wide and rich generation algorithms. fix #336
🚀 This feature has been shipped in the last foundry pre-release (6.0.0-alpha.23) import React from 'react';
import { ScrollView } from 'react-native';
import RenderHTML from 'react-native-render-html';
const html = `
<ol start="10">
<li>The World Wide Web Consortium (W3C) develops international standards for the Web: HTML, CSS, and many more.</li>
<li>The World Wide Web Consortium (W3C) develops international standards for the Web: HTML, CSS, and many more.</li>
<li>The World Wide Web Consortium (W3C) develops international standards for the Web: HTML, CSS, and many more.</li>
</ol>
`;
export default function App() {
return (
<ScrollView style={{ flexGrow: 1 }}>
<RenderHTML source={{ html }} />
</ScrollView>
);
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a bug report or a feature request?
Bug Report.
Have you read the guidelines regarding bug report?
Yes
Have you read the documentation in its entirety?
Yes
Have you made sure that your issue hasn't already been reported/solved?
Yes
Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?
Both Android and iOS
Is the bug reproducible in a production environment (not a debug one)?
Yes
Have you been able to reproduce the bug in the provided example?
Environment
Environment:
Target Platform:
Android (7.0)
iOS (10.3)
The text was updated successfully, but these errors were encountered: