Git Product home page Git Product logo

Comments (6)

pbreah avatar pbreah commented on May 5, 2024 2

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.

fzaninotto avatar fzaninotto commented on May 5, 2024

Can't reproduce the issue. Could you provide a simplified test case?

from aor-rich-text-input.

DjLeChuck avatar DjLeChuck commented on May 5, 2024

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.

fzaninotto avatar fzaninotto commented on May 5, 2024

next will be a bit late - expect it end of April.

from aor-rich-text-input.

thomasstreckercc avatar thomasstreckercc commented on May 5, 2024

What is the status of this? It seems to be still open as far as I am concerned.

from aor-rich-text-input.

renetalk avatar renetalk commented on May 5, 2024

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)

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.