A very very very micro medium editor clone . WIP!
demo: https://solodynamo.github.io/mediYum/
- Clone the repo.
git clone https://github.com/solodynamo/mediYum.git
cd mediYum
npm install -g gulp
npm install
gulp totalBuild
Open editor.html in browser.
Main Files
├── gulpfile.js # File through which all command runs.
├── README.md # File from which you are reading currently.
├── editor.html # Main markup
├── scss
└── global.scss # Contains global scss.
└── main.scss # Main file
└── mediYum.scss # Contains editor toolbar scss.
├── js
└── mediYum.js # JS file
gulp sass (compiles and minify scss into dist/css)
gulp total (uglifies/obfuscates/babelify js file into dist/minjs)
gulp totalBuild (Does all the above stuff at once)
mediYum ❤️ contributions. Feel free to send this repo a PR.
- Create an issue if there is one
- [Fork the repo] (https://github.com/solodynamo/mediYum.git/fork)
- Create your feature branch (
git checkout -b your-feature
) - Add and commit your changes (
git commit -am 'message'
) - Push the branch (
git push origin your-feature
) - Create a new Pull Request
Create an issue for all discussions, bugs, feature requests and pull requests.
Contribute and add your name in above list.
mediYum ❤️ contributions. Feel free to send this repo a PR.
- Make each paragraph drag and droppable.
- Allow users to add links
- ContentEditable: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable
- SelectionAPI: https://developer.mozilla.org/en-US/docs/Web/API/Selection
- Medium: https://medium.com/
- medium-editor: https://github.com/yabwe/medium-editor/
- mediumJS: https://github.com/jakiestfu/Medium.js/
This project is licensed under the MIT License - see the LICENSE file for details.