Comments (15)
Hi @julianfox , that is already working. maybe you found a bug.
can you show to us the pasted html that gives you trouble?
from dante.
try to paste this html , http://codepen.io/anon/pen/RNqaaQ . I've copy & pasted and is working as spected
from dante.
Yes with html that work, but when i try to paste text directly from blog article, i paste the style also...
from dante.
Hi @julianfox, can you point that blog article to test it out?
best!
from dante.
Hey @michelson, for exemple with this one: http://www.leblogdebetty.com or this one http://www.helloitsvalentine.fr/0326596/roudoudou
I also try on your exemple app
from dante.
Hello @michelson,
I have this issue on Safari Version 8.0 (10600.1.25.1)
I tried on Chrome without this issue...
from dante.
working now in 0.0.14
from dante.
Hello @michelson,
I still seem to be able to paste pre-formatted text on a Mac OSX from the codepen snippet you linked to, http://codepen.io/anon/pen/RNqaaQ
I copied and pasted and got the styles persisted in Safari. Which means I was seeing blue, red and green text in Safari as it was on codepen. BTW I am on a recent version of Safari as required 😄; Version 8.0.7 (10600.7.12)
When trying this in Chrome the paste worked but also throws in the style such that it now appears as text. Is this the expected behavior? Here's what I got in chrome:
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 32.0px Times; color: #0433ff; -webkit-text-stroke: #0433ff} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Times; color: #ff2500; -webkit-text-stroke: #ff2500} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 16.0px Times; color: #018000; -webkit-text-stroke: #018000} span.s1 {font-kerning: none}
This is a heading.
This is a paragraph.
This is a paragraph.
from dante.
Hi @nceruchalu , I've tested the pasted content in safari 8.0.5 and chrome 44.02 but I have not been able to reproduce the bug. It works as spected. in http://michelson.github.io/Dante/ version 0.0.14
are you trying it with latest version 0.0.14 ?
from dante.
Hello @michelson repeated this using your test website http://michelson.github.io/Dante/ which I believe is version 0.0.14
I've noticed that pasting works perfectly on Windows. However I'm noticing this issue on a Mac OSX. Are you by any chance using a windows machine?
from dante.
nope , I'm using OSX
from dante.
Okay that's odd. I too am on OSX. Here's a screenshot of what I see.
Maybe there's something funny going on with my Mac OS (version 10.10.4). But I also notice that the keyboard commands such as <command>+B
don't work on bolding text, and same goes for <command>+I
. Does this extra info help in diagnosing the issue?
This issue aside, this is an awesome library! Thanks for the great work!
from dante.
Ah , I've reproduced this but with pasting content from right click -> context menu -> paste.
but it works as spected with cmd + v.
Are you using cmd + v or context menu -> paste ?
thanks
from dante.
Actually was using cmd + v. Just tried context menu -> paste and got the same results.
It's possible that safari on my laptop has some weird configs that you only see with the context menu. I say this because cmd + I keeps trying to email the contents of the entire page using the default mail.app. Weird because this doesn't happen in other WYSIWYG editors. But it's pretty cool functionality if it's by design 😄
from dante.
thank for reporting this @nceruchalu , I will reopen this issue now
from dante.
Related Issues (20)
- Upload image on callback refreshes the page thereby clearing the image blob url object from memory. HOT 2
- No documentation for Dante3 HOT 1
- Typescript declarations missing for dante3 HOT 1
- How to multi-column? HOT 4
- how can i compile it to plain vanillaJS? HOT 1
- prosemirror-state package constructor issue HOT 2
- "Cannot load such file -- coffee_script" for Rails 7 HOT 1
- Cannot Start a New Line When Uploading Images & Image Gets Deleted When Pressed Enter [Video Included] HOT 2
- prosemirrorState Error HOT 37
- cannot build dante3 HOT 2
- running Dante locally with errors... HOT 1
- where can I find "Clear Format" ? HOT 3
- prosemirrorState.PluginKey is not a constructor HOT 7
- Dante3 not working with vite HOT 7
- RangeError: Adding different instances of a keyed plugin (plugin$) HOT 4
- Is that possible? Add JS dynamic charts. HOT 13
- How would I get the "raw" html for image block?
- TypeError: Cannot read properties of undefined (reading 'Extension') HOT 3
- How can I use Dante with JQuery?
- Dante 3 Nextjs page to Nextjs app HOT 9
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 dante.