Comments (6)
I experienced the same issue, and this is a workaround:
{ props.record.field_name? <RichTextInput source="field_name" /> : null}
it makes sure your data is available before rendering your RichTextInput
from aor-rich-text-input.
Can't reproduce the issue. Could you provide a simplified test case?
from aor-rich-text-input.
I'm with the master
branch not next
, maybe the behaviour is different.
If I'm not wrong next
should be available soon, so I can wait and test with it when it's out?
from aor-rich-text-input.
next
will be a bit late - expect it end of April.
from aor-rich-text-input.
What is the status of this? It seems to be still open as far as I am concerned.
from aor-rich-text-input.
I solved the problem by using another rich text editor.
Even https://github.com/LoicMahieu/aor-tinymce-input has the same problem but the following implementation does work: https://github.com/HurricaneJames/react-tinymce-input
The problem seems to be that the rerendering of the component (happens multiple times on first draw) with changing values for the rich text input is not properly handled by the rich text editors. See instructure-react/react-tinymce#21
from aor-rich-text-input.
Related Issues (13)
- <RichTextInput> doesn't display validation errors HOT 7
- Quill adds padding without matchvisual option HOT 2
- Editor is not rendered HOT 2
- aor-rich-text-input not adding content when store is changed with connect HOT 1
- Refresh button in the Edit view does not refresh data.
- style="color: rgb(0, 0, 0)"
- How to set default direction on RTL in RichTextInput
- The package is crashed when importing at the existed admin on rest project code. HOT 7
- Explore code splitting options
- react is not in peerDependencies
- using additional quilljs modules HOT 1
- Loosen quill dependency lock HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aor-rich-text-input.