Comments (7)
Strange :O
I'll try to reproduce this...
from slate-edit-code.
Updating to [email protected] fixed a few of these issues, but some remains.
Triple-click on a code line and paste => error
Slate issue ianstormtaylor/slate#1493
from slate-edit-code.
Some quirks to note:
- This only occurs when highlighting multiple lines IN FULL. If any line is partially highlighted, pasting works.
- When highlighting multiple lines with the mouse cursor, it only occurs if you select in reverse
- When highlighting multiple lines with the keyboard, it only occurs if you select forward (not in reverse)
By reverse I mean where the anchor node is after the focus node.
from slate-edit-code.
@Soreine thanks very much. You guys are the best. I'll try to submit a PR for the other issues I reported later this week.
from slate-edit-code.
Just to keep you informed, I don't have the time to dive in this right now...
from slate-edit-code.
No worries. I figured you had more important things to work on on your end. I definitely appreciate the update. Thanks very much for the great work.
from slate-edit-code.
@Soreine you rock! Thanks very much for the hard work and for the update!
from slate-edit-code.
Related Issues (20)
- How to insert code blocks? HOT 5
- Add quotes/double quotes when selection is expanded and quote keys are pressed. HOT 1
- Schema normalization has an infinite loop
- Edition doesn't mean editing HOT 1
- Prism highlighting does not update all lines when changing syntax HOT 1
- Support toggle of multiple blocks to code block
- Update to reflect changes in Slate v0.22.0 HOT 2
- Allow custom indent
- Ctrl+Enter no longer exits codeblock on Windows HOT 2
- Select All with Ctrl+A no longer limits bounds to the codeblock HOT 2
- All code ending up in a single line block HOT 3
- Multiple code blocks no longer work HOT 10
- Add line numbers HOT 1
- Accepting data in toggle & wrap functions
- How exactly does one use the getIndent option? HOT 7
- Don't work in slate 0.37 HOT 8
- How to do syntax highlighting? HOT 2
- Possible error when pasting something that is not text
- Shift + Tab to reduce indent
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 slate-edit-code.