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
Taly
ed8b4f11f2
Remove "decline sound" on macOS on copy event ( #558 )
...
* Remove "decline sound" on macOS on copy event
* bump version
* remove legacy "build" dir
2018-12-08 09:48:27 +03:00
Murod Khaydarov
d5d77c60cb
[ModificationObserver]: Use Native MutationObserver instead of DomModification listener ( #556 )
...
* Use native Mutation Observer
* use debounce on mutations
* bump version
* code descriptions
* upd
2018-12-07 11:33:43 +03:00
Murod Khaydarov
3d512d66ff
Polifylls Element interface type fixes and Selection util rangeCount extra condition ( #555 )
...
* hotfix
* update
2018-12-07 09:37:14 +03:00
horoyami
0ad9484c75
Inline Toolbar: Selection is not reseted ( #543 )
...
* Selection is not reseted if click on toolbar borde
* blue back
* 'refactoring'
* fix double link click
* fix double link click
* fix double link click
* listener
* 'reset'
* reset fix
* add missed bundles, increment version
* update submodules
2018-12-06 22:33:32 +03:00
Murod Khaydarov
af4f62b254
Issue-459 ( #551 )
...
* close toolbar after block is removed
* update bundle
2018-12-06 22:23:06 +03:00
Murod Khaydarov
020961a7e8
Fix bug with warning ( #550 )
...
* Fix bug with warning
* update from master
2018-12-06 22:14:56 +03:00
Peter Savchenko
79399b6eb4
Dont clear dist before build ( #549 )
...
* Dont clear dist before build
* dont drop dist dir
2018-12-06 21:48:32 +03:00
George Berezhnoy
3a9e4a814b
Add notification if URL is not valid ( #548 )
2018-12-06 09:42:30 +03:00
George Berezhnoy
71f8d76787
Optimize and improve bundling ( #547 )
...
* Optimize and improve bundling
* Bump version
* Update path to main script
2018-12-06 00:01:24 +03:00
George Berezhnoy
866c38af2a
Stub Tool ( #545 )
...
* Add stub tool
* Rendered -> displayed
* Bump version
* font sizes updated
* add opacity for selected block with stub tool
* Update comment
2018-12-05 17:02:09 +03:00
George Berezhnoy
c93ed2501b
Add tools` titles for Toolbox ( #540 )
...
* Add tools` titles for Toolbox
* Bump version
* Use isEmpty method to check object emptiness
* Improve isEmpty method
* Override toolbox settings from editor config
2018-12-04 20:24:41 +03:00
Murod Khaydarov
185eed8cb8
Merge fixes ( #541 )
...
* Merge fixes
* add type
* source map
2018-11-30 21:57:30 +03:00
Murod Khaydarov
4511194bb9
Enter on selected Block ( #538 )
...
* Enter on selected Block
* fix small bug with restoring caret
2018-11-30 18:02:24 +03:00
George Berezhnoy
669c11eaa5
Paste handling improvements ( #534 )
...
* Make on paste callback non-static method
* Add docs
* change tools.md header levels
* some docs improvements
* upd docs
* Types improvements
* add image tool for testing
* Fix file drag'n'drop
* improve log on paste
* Update submodules
* Update bundle
* Update paragraph submodule
* Fix some bugs with blocks replacement
Remove tag from HTMLPasteEvent
* Use production webpack mode
* minimize: true
* Update docs
* Update submodules
* Update bundle
2018-11-29 12:16:06 +03:00
Murod Khaydarov
819719aadc
update HTML-Janitor patch ( #537 )
...
* update HTML-Janitor patch
* update readme
* add licence to code
2018-11-24 22:06:40 +03:00
Peter Savchenko
feace16fc1
Remove contentless and irreplaceable ( #535 )
...
* Remove contentless and irreplacable settings
* update version
2018-11-24 18:47:49 +03:00
Taly
953949e56f
set default value for holderId ( #533 )
...
resolves #496
2018-11-24 17:52:26 +03:00
Peter Savchenko
8398f825a8
Dont show Block Actions on new paragraphs ( #532 )
2018-11-24 17:04:32 +03:00
Peter Savchenko
ecfcfaa79f
Optimisation: dont fire isEmpty checking for not-initial Blocks ( #529 )
...
* Optimisation: dont fire isEmpty checking for not-initial Blocks
Because not-initial Tools can has maaany nodes and it will be slow to walk three.
* upd comment
2018-11-24 16:33:43 +03:00
Peter Savchenko
09df079509
Logger improved ( #521 )
...
* Logger styles improved
Resolves #520
* increment version
* update bundle
* change last log
2018-11-24 12:57:11 +03:00
George Berezhnoy
bcdfcdadbc
Move to typescript ( #474 )
...
* Move all modules to ts
* It works
* Update README.md
Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com>
* Interfaces
* Interfaces
* Move depending interfaces to external types
* Update README.md
* update tools
* add some docs
* Add some fixes
* Add desctiprion for Block declaration and Core properties
* Fixes due comments
:
* Remove Block from external types
* Bump version
* Update src/components/modules/tools.ts
Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com>
* Update src/components/core.ts
Co-Authored-By: gohabereg <gohabereg@users.noreply.github.com>
* Rename gteBlockHTMLByIndex to getBlockByIndex
* Remove unnecessary constructors
* Clean up bindEvents method
* Add InlineToolConstructable interface
* Delete legacy notifications class
* Fix zero-configuration bugs
* Update inline tools and block tunes constructors
2018-11-23 19:11:50 +03:00
Murod Khaydarov
6a90784b69
Block selection ( #483 )
...
* initial commit for feature
* selection with cmd+a
* copy to clipboard
* use div instead of textarea
* select and copy improvements
* requested changes
* update
* improve styles
* remove missclick
* clear selection with escape and other keydowns except shift
* copy to clipboard with cmd+a&cmd+c
* restore selection after clearing block selection
* update submodules
* update
* rename func name
* rename getter selected
* small naming changes
* native selection fix
* fix with appendCallback
* add light animations to selection
* move appendcallback to the toolbox insertnew function
* upd styles
* update
* missed {}
* last fixes
* upgrade version
2018-11-13 19:11:47 +03:00
Taly
7901bbb7e6
Add .idea/ dir to npmignore ( #489 )
...
* add .idea/ dir to npmignore
* bump version
2018-11-11 01:31:57 +03:00
Taly
f5c4a8db37
add npmignore file ( #488 )
2018-11-11 01:27:51 +03:00
Taly
b8ce51d77f
Notifier module and API ( #486 )
...
* Notifier module and API
* add docs
* update notifier module
* bump version
* impr image module
* git cache cleared
* remove image submobule
* add sumbodule
2018-11-10 15:47:25 +03:00
Polina Shneider
4a27dc6766
Fix plugin int return data ( #487 )
...
* Fix plugin int return data
* clean only strings
* Increase version
2018-11-09 20:15:49 +03:00
Peter Savchenko
8ceb615cd5
Some new styles, used by Image Tool ( #479 )
...
* Some new styles, used by Image Tool
* update example
* Update submodule
* increase version
* remove Simple
* update some packages
2018-11-06 18:33:39 +03:00
George Berezhnoy
986708ed90
Do not sanitize if sanitizer config is empty ( #477 )
2018-10-23 15:33:03 +03:00
Murod Khaydarov
3f8c7fbb7b
Sanitizer features ( #467 )
...
* Sanitizer features
* move to ts, use sanitizer module to clean taintstring
* Sanitizer is ready
* it works
* Code refactored (#476 )
* Use new features for paste handling
* Fix asterix
* Add types and some comments
* Use any type for deepSanitize method
* Make sanitize property static and use apiSettings object
* Use sanitize for single-block pasting
* Fix comment
* little updates
* rename sanitize in inline-tools docs
* Update pattern handling
* Use public getter for available tools
* Fix typo
2018-10-23 10:34:00 +03:00
George Berezhnoy
cb86bf446b
Improve paste behaviour ( #473 )
...
* Improve paste behaviour
* Use variables for long expressions
* Fix paste processing logic
2018-10-16 15:33:49 +03:00
George Berezhnoy
53f58584b6
Fix sanitize config on paste ( #471 )
2018-10-10 22:32:17 +03:00
Murod Khaydarov
ff80ca6e92
api sanitizer improvements ( #457 )
...
* api sanitizer improvements
* update
* sanitize recursively
* clear from logs and update comments
* optimize
* update
* perfect recursive method
* update request
* upd
* update docs
* update comments
* update
* update docs
* update last comment
* update
* update docs
* update docs
* update
* upd docs
* add extra condition
* update
* update docs link
2018-10-01 14:07:51 +03:00
George Berezhnoy
cba8de8367
Bump minor version ( #461 )
...
* Bump version
* Bump minor version
2018-09-28 17:08:09 +03:00
George Berezhnoy
330e8ac76f
Bump version ( #460 )
2018-09-28 16:52:49 +03:00
George Berezhnoy
cdf6d973c1
Update toolbar move as not to overlap editor`s content ( #455 )
...
* Update toolbar move as not to overlap editor`s content
* Bump version
* Add top offset to toolbox actions
* Calculate offset once
2018-09-20 16:46:40 +03:00
Murod Khaydarov
bdae8d3fad
inline-tools: prevent default behaviour on clicks to prevent form submitting ( #454 )
...
* fix inline-tool buttons
* prevent default on inline-tool clicks
* update
* update version from package json
* update version and use badgen in README
* upd
2018-09-20 14:51:21 +03:00