Commit graph

25 commits

Author SHA1 Message Date
Peter Savchenko
f45521df65
Term: new icon, new style. + margin between settings buttons (#316)
Resolves #309
2018-07-19 17:56:52 +03:00
Taly
7a67d38022
Add placeholder to contentEditable elements (#306)
* add placeholder to contentEditable elements

* store selection color in a variable

* add placeholder to header block

* Add placeholder to contenteditable only if attribute data-placeholder exists

* remove tool config
2018-07-19 17:25:16 +03:00
Taly
29d2bae8ec
update toolbar design (#301) 2018-07-18 19:39:14 +03:00
Murod Khaydarov
9c961bd0bd
"MoveDown" tune (#283)
* move down initial

Swap current block with next block and scroll window screen

* check if block is last

added new method to the blocks API that returns blocks count

* fix comments

* animate tune

* add animation when tune is disabled

* requested changes

* remove unused css
2018-07-16 18:59:39 +03:00
Taly
3d03461dc0
Header plugin (#281)
* header initial

* fix styles

* eslint fix

* add appendCallback

* add comments

* update styles

* add svgs

* highlight settings buttons

* do not show text plugin in the toolbar

* remove svg

* Fixing caret behaviour. (#282)

Plugins can change their state so that affect on Block's pluginsContent property which is in memory.

* remove useless code

* fix merge
2018-07-16 18:51:41 +03:00
Murod Khaydarov
640e44b091 Move-up tune (#268)
Co-authored-by: khaydarov <murod.haydarov@gmail.com>

* Move up tune initial
* move up tune initial behaviour
* moving up formula, docs and code cleaned
* do not close the toolbar if moving block up
* move nagivate methods to Caret Module
* navigations returns boolean if caret is set
* code improved
* update comments
* disable tune when block index is zero
* provide API with listener module methods
* caret improvements
* add to docs
* update docs and blocks api methods
* docs changes
* small improvements
* swap instead of moves
* update
* fix swap
* remove unused method
* remove useless return value from setToBlock
* improve caret isAtEnd and isAtStart
* improve swap, fix listeners api@off method
2018-07-14 19:52:03 +03:00
Taly
e21c645ad5
background -> background-color
if `background` has only `color` then use `background-color`
2018-07-11 21:37:11 +03:00
Peter Savchenko
f898492844
improve code 2018-07-11 14:27:18 +03:00
Peter Savchenko
972eb87d89
UI: Block Settings, show Plus after Enter keydown (#265)
* Some UI improvements: icons settigns

* Show plus button after split

* decrease autoprefixer

* rename variable
2018-06-28 12:20:41 +03:00
Peter Savchenko
c6656770e5
Link Inline Tool (#264)
* Link Inline Tool

* api injected

* text improved

* Clear input on the reselection

* little improvements
2018-06-25 13:46:53 +03:00
Murod Khaydarov
295e4256c8
Deleting block: Initial 2018-06-24 02:33:40 +03:00
Murod Khaydarov
4413764e4a
Merge branch 'rewriting-version2.0' into default-editor-settings 2018-06-23 22:38:47 +03:00
Peter Savchenko
543d35f463
Create svg sprite (#261) 2018-06-23 20:35:06 +03:00
Murod Khaydarov
93ddb25c3d
tunes with interface 2018-06-21 19:39:33 +03:00
Murod Khaydarov
32aa383d84
Merge branch 'rewriting-version2.0' into default-editor-settings 2018-06-21 18:47:17 +03:00
Peter Savchenko
36f505cb02
Inline Toolbar Tools base example (#260)
* Inline Toolbar Tools base example

* texts fixed

* imrpove texts

* little fixes
2018-06-21 17:13:02 +03:00
Murod Khaydarov
57ee83845e
need to figure out with assets 2018-06-21 00:36:32 +03:00
Peter Savchenko
cba999a77d
Inline Toolbar moving (#258)
* Inline Toolbar moving

* simplify code

* Check is need to show Inline Toolbar

* remove duplicate from doc

* fix doc

* open/close IT

* Close IT by clicks on Redactor

* @guryn going strange

Co-Authored-By: Taly <vitalik7tv@yandex.ru>
2018-06-13 14:42:21 +03:00
Peter Savchenko
dbb4cd6f8f
TypeScript support, Webpack 4, Inline Toolbar beginning (#257)
* Create UI

* Support TypeScript Modules

* remove tmp files

* migrate to 2-spaced tabs

* Add TS Linter
2018-06-11 15:29:15 +03:00
Peter Savchenko
c4bdc23d77
Toolbar: settings zone added. (#252)
* Toolbar: settings zone added.

* update some comments
2018-03-25 12:26:06 +03:00
Murod Khaydarov
c2acc25825 Caret module: initial 2017-12-27 08:47:30 +03:00
Peter Savchenko
c1afcf0205
Toolbar, Toolbox, UI (#239)
* Toolbox making

* Add Toolbox buttons click handler

* Toolbar, Toolbox, UI

* Updates

* update css prefix
2017-12-24 15:35:05 +03:00
Peter Savchenko
56e1641339
Connect CSS styles (#224) 2017-11-26 17:19:46 +03:00
Peter Savchenko
d66a2f9d0c
Update to Webpack 3 (#223)
* Update to Webpack 3

* remove nom log
2017-11-26 16:31:34 +03:00
Peter Savchenko
ed28a85db6
New project structure (#214) 2017-11-25 12:14:06 +03:00