marcoklein / codemirror-block-editor Goto Github PK
View Code? Open in Web Editor NEWCodeMirror6 Block Indentation Playground
Home Page: https://marcoklein.github.io/codemirror-block-editor/
License: MIT License
CodeMirror6 Block Indentation Playground
Home Page: https://marcoklein.github.io/codemirror-block-editor/
License: MIT License
Build a usable package so you can use it in other projects.
The parcel bundler does not integrate well with the three different build specifications for the library, tests, and demo page because it always tries reading the main
and types
field from package.json
.
There could be an easier way to do it with Parcel, but tsup might also be a viable bundler.
Changing the build setup will remove these hacks:
e.g. in package.json
"build:demo": "yarn generate:version && mv package.json package.json.tmp && parcel build src-demo/index.html --public-url . --dist-dir dist-demo && mv package.json.tmp package.json",
As a library user I want to listen to changes on block levels.
Show a viusal dot at line start. Allow interaction with that dot by for example dragging it to move a line.
If I press Shift+V
and then indent with >
the bottom line increases indentation too. This should not happen.
Decrease and increase indentation of children blocks.
As a user I want to select only contents of blocks that is part of a specific block to intuitively navigate through blocks.
The following UX and acceptance criterias apply:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.