Comments (11)
+1
from medium-editor.
+1
from medium-editor.
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.
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.
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.
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.
It's on master now, could you guys try it out and tell me what you think?
Cheers 🍻
from medium-editor.
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.
True, forgot about that, we overwrite the paste event for the plain text functionality. Gonna take a look later on! :)
from medium-editor.
+!
from medium-editor.
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)
- Toolbar not showing on selecting text.
- Allow linebreaks instead of paragraphs for copy-pasted code HOT 2
- Import for sveltekit HOT 1
- uploadCompleted option issue
- Handling bi-directional text RTL mixed with LTR HOT 3
- Update your list of plugins
- Usage with React? HOT 3
- Use inside `ShadowRoot`: Framework LitElement
- No placeholder on elements added to editor
- Can't add images HOT 1
- Let H1 - H6 Button Icons work with fontawesome v5 & v6
- How to disable undo/redo ?
- Is it possible to reduce the amount of times a user can 'Indent'
- Duplication of First letter in Korean
- Any way to add photo through plus button like medium??
- Is there a way to always show the plus icon for the new line instead of on hovering? HOT 1
- paste with cleanPastedHTML=true dont keep line break
- Project Status HOT 3
- value goes missing when we style it second time in iframe
- Question: Is it possbile to have two toolbars on the same class? 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 medium-editor.