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
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
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
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
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
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
George Berezhnoy
712256e23d
Handle paste only on initial Blocks ( #623 )
2019-02-26 00:38:45 +03:00
Murod Khaydarov
8d6ac74b57
Issue-616: Handle backspace, cmd+X, cmd+C and enter on RectangleSelection ( #617 )
...
* cut-n-copy multiple selection with rectangle
* use pop instead of shift
* enter and backspace behavior with rectangeSelection
* bump version and minify bundle
* optimize code
2019-02-25 17:19:30 +03:00
Murod Khaydarov
e6adb4cb5b
[Update]: Migrate to postcss-preset-env which includes postcss-cssnext ( #615 )
...
* Use cssnext to cut cssnext variable. By default cssnext includes autoprefixes
* bump bundle version
* migrate to postcss-preset-env
* update changelog and minimize css
2019-02-19 18:42:34 +03:00
horoyami
beeeef0914
Mouse selection ( #574 )
...
* Mouse selection
2019-02-19 11:49:19 +03:00
George Berezhnoy
e4b0ca9b71
Prevent default behaviour on backspace ( #607 )
2019-02-11 11:36:41 +03:00
George Berezhnoy
b46369bff0
Caret API ( #605 )
...
* Caret API
* Check block existence before setting the caret
* Update docs/api.md
Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com>
* Update docs/api.md
Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com>
* Update docs/api.md
Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com>
* Update CHANGELOG.md
2019-02-01 12:47:25 +03:00
George Berezhnoy
b89f756a03
Improve typings ( #602 )
2019-01-25 06:21:34 +03:00
George Berezhnoy
8ca49fa6f5
Fix Block inputs selector to include inputs without type attribute ( #599 )
2019-01-25 01:10:06 +03:00
horoyami
95734bb2f2
FIx version and changelog
...
* version fix
2019-01-24 18:50:27 +03:00
Murod Khaydarov
67d557120c
Prevent CMX+X only when block selected by editor ( #596 )
2019-01-17 15:07:56 +03:00
Polina Shneider
fc3e146764
Validate saved data ( #591 )
...
* Specify submodule branch for test
* Change branch for testing convenience
Just run: git submodule update --remote
* Added checklist submodule for test
* Attempt to validate data on save
* Rewrite promise.then to async/await
* Move validate logic to saver
* Remove extra space
* Fix tabs
* Don't need async/await here
* Remove submodule
* Improve logging, remove empty blocks from data array
* Remove warning
* Loop over blocks only once
* Make validate non-async
* Get rid of await Promise.all
* Make validate async
* Call plugin's validate method with await
* Add docs
* Update docs
* Make separate function for tools validation
* Rename method
* Add data types interfaces
* Improve logging
* Desctructure extraction object
* Remove useless argument
* Update README and changelog
* Make separate changelog for version
* Increase version
* Bump version
* Keep logs at their places
* Fix logs order
* Pull submodules
* Improve logs grouping
* log styles improved
* Describe allExtractedData type
* Improve JSDoc
2019-01-12 19:39:43 +03:00
Peter Savchenko
aab317895b
Responsive layout ( #593 )
...
* Mobile adaptation beginned
* mobile ready
* Narrow mode supported
* update version
* disable narrow mode testing
* prod build
* rm unnecessary code
* Update src/styles/variables.css
* rm unused code
* add viewport
* disable narrow mode on mobile
* mobile: add bg to current block
* add paddings for highlighted block
* rm changelog
2019-01-12 05:47:19 +03:00
George Berezhnoy
63a82d3424
Improve caret behaviour ( #589 )
2019-01-12 04:57:37 +03:00
George Berezhnoy
da9255a98d
Enable editor autofocus ( #581 )
2019-01-12 03:44:43 +03:00
George Berezhnoy
e8d43c8fc7
Handle paste on images and blocks w\o inputs ( #583 )
2019-01-12 03:34:44 +03:00
Murod Khaydarov
d00412e1df
[Shortcuts]: CMD+X ( #592 )
...
* [Shortcuts]: CMD+X
* shortcuts must be in BlockManager
* small code improvements
* compact bundle
* insert new block in case of cmd+x
* prevent default
* suggested changes
2019-01-11 23:53:36 +03:00
Polina Shneider
bc3341bfa1
Bump version ( #584 )
...
* Bump version
* Bundle
2018-12-28 00:09:57 +03:00
George Berezhnoy
7ca07c7999
Handle paste to the same block ( #578 )
2018-12-27 16:01:00 +03:00
George Berezhnoy
9d0d638d42
Improve caret behaviour ( #579 )
2018-12-25 18:07:05 +03:00
George Berezhnoy
6008c087a4
Handle br tags ( #577 )
...
* Handle br tags
* Bump version
2018-12-25 17:53:36 +03:00
horoyami
b367ecddbf
Fix losing of selection ( #576 )
...
* update table
* fix code
* fix name
* Update package.json
* version
2018-12-24 23:58:45 +03:00
George Berezhnoy
5b156c1875
Fix jumping caret bug ( #568 )
...
* Fix jumping caret bug
* Get element from point
2018-12-24 21:40:15 +03:00
Peter Savchenko
cfae683d6a
Add z-index to editor, add default styles for internal inline-tools ( #566 )
2018-12-24 09:20:20 +03:00
Peter Savchenko
71315d902a
Disable Mutation Observer while saving ( #563 )
...
* Disable Mutation Observer while saving
* rm image
2018-12-20 23:47:27 +03:00
Murod Khaydarov
41ae41cda7
issue-469: resolving error with setCaret ( #570 )
...
* issue-469: resolving error with setCaret
* dump version
* update package.json
* expand input types
2018-12-19 15:46:07 +03:00
Peter Savchenko
71a8a99937
Add changelog ( #571 )
...
* Changelog added
* note about html janitor
* update changelog
* update patch
* even
2018-12-19 14:52:21 +03:00
Taly
f9d65d9544
Update prod build ( #572 )
...
* Remove watch from prod build
* x -> X
* bump version for CI
* Revert "bump version for CI"
This reverts commit 2c9d24d82c
.
2018-12-19 08:09:56 +03:00
George Berezhnoy
8e5a56a67a
Check if node is single tag element in isNodeEmpty method ( #567 )
2018-12-18 22:24:15 +03:00
Murod Khaydarov
7c778d511c
issue-559: Allow default selection on native inputs ( #564 )
...
* issue-559: allow double CMD+A on native inputs
* restore commented code
2018-12-14 18:22:21 +03:00