Commit graph

515 commits

Author SHA1 Message Date
Peter Savchenko
4816fb47e1
minor release 2019-04-29 15:52:00 +03:00
Stephan de Vries
0ab6a29b24 Fix typo in example paragraph (#749)
* Fix typo

* Update example-dev.html
2019-04-29 14:58:19 +03:00
Murod Khaydarov
1cd6149cfc
issue-739: allow Block's editable element selection (#747)
* issue-739: allow Block's input selection

* little improvements

* update Changelog and cache inputs

* small fix

* delete map file

* fix inputs.count condition
2019-04-28 12:13:23 +03:00
Peter Savchenko
f518a67f7a
Config minHeight option that allows to customize bottom zone (#745) 2019-04-28 11:28:27 +03:00
Peter Savchenko
3befe9563a
Update README.md (#744)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

Co-Authored-By: neSpecc <specc.dev@gmail.com>
2019-04-27 19:05:13 +03:00
Sitian Liu
ca58f746dd Link Logo Image to homepage (#738) 2019-04-27 17:40:38 +03:00
Tanmay Vijayvargiya
27cbaa5c11 Close inline toolbar after creating new link by pressing ENTER (#722)
* Method to clear current selection and close inline toolbar

* clearSelection with optional collapsed range

* refactored selection.ts

* removed experimental function

* Update src/components/selection.ts

Co-Authored-By: tanmayv <12tanmayvijay@gmail.com>

* update version, add changelog
2019-04-27 17:40:22 +03:00
George Berezhnoy
2de4318565 Move codex-notifier to dependencies for typescript declarations (#728) 2019-04-27 17:33:26 +03:00
Patrick Kollitsch
800657e837 Do not install editor.js as dev-dependency (#731)
Resolves #730
2019-04-27 17:32:56 +03:00
jess
5f0d242bbd Activating Open Collective (#736)
Hi, I'm making updates for Open Collective. Either you or a supporter signed this repo up for Open Collective. This pull request adds backers and sponsors from your Open Collective https://opencollective.com/editorjs❤️

It adds two badges at the top to show the latest number of backers and sponsors. It also adds placeholders so that the avatar/logo of new backers/sponsors can automatically be shown without having to update your README.md. [more info](https://github.com/opencollective/opencollective/wiki/Github-banner). See how it looks on this [repo](https://github.com/apex/apex#backers).

You can also add a postinstall script to let people know after npm|yarn install that you are welcoming donations (optional). [More info](https://github.com/OpenCollective/opencollective-cli)
You can also add a "Donate" button to your website and automatically show your backers and sponsors there with our widgets. Have a look here: https://opencollective.com/widgets

P.S: As with any pull request, feel free to comment or suggest changes. The only thing "required" are the placeholders on the README because we believe it's important to acknowledge the people in your community that are contributing (financially or with code!).

Thank you for your great contribution to the open source community. You are awesome! 🙌
And welcome to the open collective community! 😊

Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other open source sustainers!
2019-04-27 17:28:58 +03:00
Nikita Nafranets
5f71c6f637 Allow holderId work with ref on dom element (#710)
* done

* update types

* attempt to simplify code

* remove useless helper

* revert holderId logic and add holder property

* Apply suggestions from code review

Co-Authored-By: dimensi <eddimensi@gmail.com>

* update holder type on string | HTMLElement

* fix typo

* add deprecated notice and fix typos

* fix wrong compare

* fix comments

* swap console.log on _.log

* update types for editor config

* update examples

* update docs

* update build
2019-04-15 18:34:13 +03:00
Tanmay Vijayvargiya
f5549458ae #665 API to open and close inline-toolbar (#711)
* API to open and close inline-toolbar

* Fixed documentation

* renamed inline -> inline-toolbar

* removed dist

* reset editor.js

* added editor.js bundle

* Fixed build error

* Null checks on toolbar/inline@open

* updated bundle

* Improve some comments

* Updatd api.md CHANGELOG.md

* Change feature to new instead of improvement
2019-04-11 12:27:13 +03:00
gohabereg
57b5a099c7 Merge branch 'master' of https://github.com/codex-team/codex.editor into release/2.12 2019-04-10 22:55:39 +03:00
Danil Beltyukov
d5bc6fa011
Remove changelog contents from readme (#700) 2019-04-08 22:11:44 +03:00
George Berezhnoy
ce69182d06
Version 2.12.4 (#680)
* Do not start multi-block selection on UI elements (#662)

* Do not start multi-block selection on UI elements

* Do not prevent mousedown event on inline toolbar actions

* Remove log

* Add comment

* Add link to issue

closes #646

* Fix loss of pointer (#666)

* Fix loss of pointer when click is outside of the editor but selection is inside

* Remove log

* Update shortcuts module (#685)

* Fixed possible grammatical typo (#681)

Thanks

* Update shortcuts module

* update changelog

* update

* Remove margin top for inline-link icon (#690)

* Remove margin top for inline-link icon

resolves #674

* Update CHANGELOG.md

* Remove unused style

* Pull fresh tools
2019-04-06 16:28:49 +03:00
Taly
f0d9548ce1 Pull fresh tools 2019-04-06 16:22:51 +03:00
Taly
a146c2e4ea
Remove margin top for inline-link icon (#690)
* Remove margin top for inline-link icon

resolves #674

* Update CHANGELOG.md

* Remove unused style
2019-04-06 16:19:29 +03:00
Murod Khaydarov
407372429b
Update shortcuts module (#685)
* Fixed possible grammatical typo (#681)

Thanks

* Update shortcuts module

* update changelog

* update
2019-04-06 16:13:45 +03:00
George Berezhnoy
a750894656
Fix loss of pointer (#666)
* Fix loss of pointer when click is outside of the editor but selection is inside

* Remove log
2019-04-05 17:47:55 +03:00
georgyb
7d1ce5912b Merge branch 'release/2.12' of https://github.com/codex-team/codex.editor into release/2.12 2019-04-05 17:42:59 +03:00
gohabereg
d2cb37fc0c Add link to issue
closes #646
2019-04-05 17:42:42 +03:00
Arun Kumar
bea4133950 Fixed possible grammatical typo (#681)
Thanks
2019-04-04 19:14:10 +03:00
George Berezhnoy
84689b5f05
Do not start multi-block selection on UI elements (#662)
* Do not start multi-block selection on UI elements

* Do not prevent mousedown event on inline toolbar actions

* Remove log

* Add comment
2019-04-04 12:48:18 +03:00
0xflotus
02dbda9722 fixed HTMLJanitor (#673)
* fixed HTMLJanitor

* fixed HTMLJanitor
2019-04-03 11:39:10 +03:00
Murod Khaydarov
2b280fcb94
update Readme (#667)
* update Readme

* update
2019-04-02 17:38:43 +03:00
The Gitter Badger
9ebc0a3023 Add Gitter badge (#668) 2019-04-02 17:32:06 +03:00
Peter Savchenko
9687ef31b5
Add opencollective note (#664) 2019-04-02 09:45:57 +03:00
George Berezhnoy
8f670dc791
Fix tooltip position (#655)
* Fix tooltip position

* Update paragraph

* Update version

* Update changelog

* Update docs/CHANGELOG.md
2019-03-27 16:13:51 +03:00
George Berezhnoy
dd42adbb39
Pass configuration to inline tools (#660) 2019-03-27 15:46:42 +03:00
Polina Shneider
42714fe2f5
Add example-dev.html (#657)
* Add example-dev.html

* Bump version

* Remove RawTool

* Downgrade version

* Add dev note

* Update text

* If there are no submodules in project init empty editor with hint

* Add script onload

* Don't use id shorthand

* <b> -> <code>

* Center text
2019-03-22 23:47:54 +03:00
Taly
e5423d64fc
Fix hover on the Delete Block button (#659) 2019-03-20 15:46:43 +03:00
George Berezhnoy
a47ffcce44
renderFromHTML API method (#654)
* renderFromHTML API method

* Fix case when currentBlock is undefined

* Clear editor before render

* Handle single block processing

* Update paragraph
2019-03-18 23:59:40 +03:00
George Berezhnoy
6bd857d4f6
Pass configuration to internal tools (#648)
* Pass configuration to internal tools

* Bump version
Add changelog

* Move tools validation to Tools module
Add class for wrapper when toolbox is opened

* Add emptiness check

* Update submodule
2019-03-18 19:22:22 +03:00
Taly
1178a2f9e2
Add warning tool (#653)
* Add warning tool

* Add warning tool

* Use latest list
2019-03-18 17:20:57 +03:00
Taly
98770e26d3
Fix mobile view (#650)
* Update postcss config

* Rebuild editor

bump version

* Update CHANGELOG.md

* Update .postcssrc.yml
2019-03-15 22:48:32 +03:00
Peter Savchenko
e6fa198ac1
Example page have been translated (#641)
* Example page have been translated
2019-03-15 14:33:14 +03:00
Taly
f841c96aeb
Update inline-toolbar and settings buttons margins (#645)
* Update inline-toolbar and settings buttons margins

* Bump version

* pull master to submodules

* Add Raw Tool

* Really add Raw tool

* Remove submodule

* Add RAW tool

* Update CHANGELOG.md
2019-03-14 16:15:15 +03:00
Taly
ef50f5cf5a
Block tunes margins now better works with more than 3 buttons (#643)
* Fix settings margins

* Remove "not last-of-type" option for settings buttons

* Update CHANGELOG.md
2019-03-11 19:36:59 +03:00
George Berezhnoy
afa158d5db
Fix issue with pasting html to non-initial tools (#639)
* Fix issue with pasting html to not initial tools

* Bump version and add changelog
2019-03-08 08:41:58 +03:00
George Berezhnoy
b2d85d3ae6
Fix paste module to support Microsoft Edge (#640) 2019-03-08 08:33:29 +03:00
George Berezhnoy
d9bb7ff958
Rename plugins org (#633)
* Rename plugins repo

* Update submodules` remotes

* Bump version
2019-03-02 21:45:03 +03:00
horoyami
19d228db17
Redesign of the scrolling zones (#634)
* update table

* Fix mouse button

* scrollZones

* build

* zones resize
2019-03-02 00:34:08 +03:00
Murod Khaydarov
1e5e77925f
Clear focus on multiple editor instances (#632)
* Clear focus on multiple editor instances

* update

* update bundles

* close inline toolbar
2019-03-01 18:10:33 +03:00
Murod Khaydarov
681e8a5827
Fix shortcut execution on several Editor instances (#631)
* Fix shortcut execution on several Editor instances

* fix problem before handling cmd+a
2019-03-01 15:09:12 +03:00
Peter Savchenko
a16767eb12
New readme image (#630)
* New readme image

* Update README.md

* v2.11.2
2019-02-28 20:40:14 +03:00
horoyami
6cd011140c
Selection is available only for the main mouse button (#629)
* update table

* Fix mouse button
2019-02-28 20:04:56 +03:00
George Berezhnoy
75dbc91f53
API shorthands (#627)
* Api shorthands

closes #612

* Remove docs about events

* Update embed submodule

* Update example
2019-02-28 19:01:41 +03:00
George Berezhnoy
69a5c21bb6
Rename to Editor.js (#625)
* Rename to Editor.js in package, comments and docs

* More changes

* Done with renaming in code, docs, and comments

* Revert renaming of tools org

* Update submodules

* Changes due comments

* Fix double slash

* editorjs -> @editorjs/editorjs

* Update package.json

Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com>

* Update webpack.config.js

Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com>

* Update bundle
2019-02-28 14:01:32 +03:00
George Berezhnoy
758c5080df Add Toolbox tooltip (#604)
* Add tooltip

* styles updated

* updates

* Update CHANGELOG.md

* rm map

* update

* upd pkg
2019-02-27 13:25:09 +03:00
Murod Khaydarov
7aa35bb7dd
bump version (#626)
* bump version

* prevent backspace on firefox
2019-02-27 13:15:40 +03:00