GithubHelp home page GithubHelp logo

Comments (6)

jazztester avatar jazztester commented on September 22, 2024 2

Hi found a temp fix referencing comments form @imkdw and @jongyoul, we can use:
.w-md-editor-text { min-height: 100% !important; }

you can try height: 100% as well but for me it breaks cursor placement

from react-md-editor.

jaywcjlove avatar jaywcjlove commented on September 22, 2024

@imkdw I can't reproduce your issue. Can you provide an example to help me investigate?

from react-md-editor.

imkdw avatar imkdw commented on September 22, 2024

@jaywcjlove

Thank you for your response
But I can't find what's wrong.. so I set css height: 100% on class of w-md-editor-text
It doesn't feel right, but it's resolved, so I think I should use it like this

.w-md-editor-text {
  height: 100%;
}

image

from react-md-editor.

jongyoul avatar jongyoul commented on September 22, 2024

I have the same issue exactly.

image

from react-md-editor.

jongyoul avatar jongyoul commented on September 22, 2024

It looks related to a7d9a2c

from react-md-editor.

buzzracharyeah avatar buzzracharyeah commented on September 22, 2024

Not working for me

                      <MDEditor
                          height='100%'
                          value={values.code}
                          onChange={(value) => setFieldValue('code', value)}
                          onBlur={handleBlur}
                          preview='edit'
                          className={classNames(
                            'ui-min-h-40 ui-w-full ui-overflow-auto ui-rounded-xl ui-leading-6 ui-text-justify ui-px-2 ui-text-base placeholder:ui-text-gray-700 ui-items-stretch',
                            {
                              'ui-border-gray-300 ': !hasError(errors.code),
                              'ui-border-red-300 ': hasError(errors.code),
                            }
                          )}
                          hideToolbar
                          textareaProps={{
                            name: 'code',
                          }}
                        />

image

from react-md-editor.

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.