Giter Club home page Giter Club logo

Comments (11)

 avatar commented on August 16, 2024

+1

from medium-editor.

CTres avatar CTres commented on August 16, 2024

+1

from medium-editor.

nav16 avatar nav16 commented on August 16, 2024

The place-holder just like Medium is here -> https://github.com/sprucemedia/jQuery.divPlaceholder.js

I have used both in my small clone project -> https://github.com/imnpandey/medium-clone

from medium-editor.

websirnik avatar websirnik commented on August 16, 2024

That's cool. One thing different from the Medium implementation is that placeholder disappears on focus, when on Medium it disappears when I'm starting to type. The latter seems to have a better UX.

from medium-editor.

CTres avatar CTres commented on August 16, 2024

would be great to just build it into this editor - simple enough and quite
a standard feature? Definitely covers an area of lacking from
contenteditable.

On Tue, Oct 1, 2013 at 8:48 PM, Nikita Korotaev [email protected]:

That's cool. One thing different from the Medium implementation is that
placeholder disappears on focus, when on Medium it disappears when I'm
starting to type. The latter seems to have a better UX.


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-25477050
.

Colin Treseler
+46 (0) 72-361-60-63
Twitter: @CTres
http://ctres.github.io
www.linkedin.com/in/ctres

from medium-editor.

daviferreira avatar daviferreira commented on August 16, 2024

I am working on it, but I want it to look good and feel good :)

https://github.com/daviferreira/medium-editor/tree/feature-placeholder

I agree with @websirnik, it should hide the placeholder only when I start typing. The problem is, when is the contenteditable empty? When it has no text? No children?

from medium-editor.

daviferreira avatar daviferreira commented on August 16, 2024

It's on master now, could you guys try it out and tell me what you think?

Cheers 🍻

from medium-editor.

websirnik avatar websirnik commented on August 16, 2024

Looks good! The only bug I've found is when you paste content, the placeholder text is not going away: http://cl.ly/image/2d1i0o0l3b0G

from medium-editor.

daviferreira avatar daviferreira commented on August 16, 2024

True, forgot about that, we overwrite the paste event for the plain text functionality. Gonna take a look later on! :)

from medium-editor.

nav16 avatar nav16 commented on August 16, 2024

+!

from medium-editor.

CTres avatar CTres commented on August 16, 2024

Love it - but the custom placeholder is not overriding 'type your text'. I
will check this morning to see if other jquery is interfering on this local
project.

best,

Colin

On Wed, Oct 2, 2013 at 5:05 AM, imnpandey [email protected] wrote:

+!


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-25510606
.

Colin Treseler
+46 (0) 72-361-60-63
Twitter: @CTres
http://ctres.github.io
www.linkedin.com/in/ctres

from medium-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.