Commit graph

119 commits

Author SHA1 Message Date
George Berezhnoy 880505a88c Remove placeholder when toolbar is opened 2017-08-30 03:40:16 +03:00
George Berezhnoy ec30ad53e3 Fix indent 2017-05-23 17:27:26 +03:00
George Berezhnoy ba88cf0ce9 Attaches fix 2017-05-23 17:10:48 +03:00
khaydarov 665523a423 fix ce-block data attribute (#188) 2017-04-25 18:06:51 +03:00
Murod Khaydarov a281802b18 update 2017-04-23 01:08:10 +03:00
George Berezhnoy 510764a3cd Attaches plugin (#181)
* Attaches plugin

* Ignore server dir

* Progress bar added

* Styles upd

* Fix

* refactoring

* core.ajax fix

* Upd

* Upd

* update styles

* remove tmp return

* styles updated

* file title now 'title'

* Current upload check

* update attaches and image plugin
2017-03-21 21:45:52 +03:00
Taly d581856d78 Update code block release.1.5.5 (#176) 2017-03-08 16:46:50 +03:00
khaydarov c8808e802b content module. New description, private and public methods (#175)
* content module. New description, private and public methods

* clear from anchors and covers

* clear from example

* cleared services
2017-03-03 18:39:56 +03:00
khaydarov b06b0c108a image plugin variables (#173)
Plugins doesn’t uses babel polyfill. That’s why ‘let’ won’t work.
2017-03-01 13:43:27 +03:00
khaydarov c06b1c7d06 raw client validation (#172) 2017-02-28 20:01:25 +03:00
khaydarov 39e06fe53a new raw data type (#171) 2017-02-28 19:49:24 +03:00
khaydarov ff101ac642 transport module refactored (#168)
* transport module refactored

* transport upgraded

* increase versions

* code improved after review

* upd

* new description

* JSDoc description
2017-02-27 18:41:56 +03:00
George Berezhnoy c87eddc7c3 raw plugin added (#163)
* raw plugin added

* Try to paste raw html to raw plugin

* insert text/plain to native area instead of contenteditable element

* styles updated

* rename variable

* fixed raw backspace click handler

* paste code

* Replace mask with two svg icons

* Toolbox leaf fix

* Remove data in example.html

* Toolbar and caret behavior improvments

* upd

* Upd

* new bundle due the local merge
2017-02-27 14:44:22 +03:00
khaydarov 3cbe8faaa6 Remove tool type from switchBlock -> by default it will saved from previous (#166)
* small fixes

regex match must not be similar to pasted string. Ex:
```https://www.instagram.com/p/BQ3wxmlA5GN/?taken-by=thenotoriousmma``
and match is ```https://www.instagram.com/p/BQ3wxmlA5GN/```.

```SwitchBlock``` have 3 parameter that is not important

* new instagram embed regex
2017-02-26 13:22:21 +03:00
Peter Savchenko af74d72f38 Quote.js improved 2017-02-21 16:32:24 +03:00
Peter Savchenko c4475a2522 quote now saves HTML in author and job 2017-02-21 15:03:49 +03:00
Peter Savchenko 291c687f25 List tool: checking for emptiness improved 2017-02-20 19:03:55 +03:00
Peter Savchenko f3c8d44fbd List tool validate and sanitise improved 2017-02-20 18:52:41 +03:00
Peter Savchenko 3ba9c85d6a list plugin update 2017-02-20 17:29:48 +03:00
Peter Savchenko 1017a603b6 list plugin improved: Workaround situations when users has own ul, li, ol style-types clearings 2017-02-20 17:18:50 +03:00
George Berezhnoy d2e755086a Destroy module (#157)
* listeners module added

* Destroy method added

* Destroy method for plugins added

* Delete plugins properties from window obj

* Revert "Delete plugins properties from window obj"

This reverts commit 6c91f81229.

* Twitter and instagram api's destroy

* Scripts destoy added

* Fix

* Replace regex with String.indexOf

* Settings for destroyer
2017-02-13 20:54:18 +03:00
George Berezhnoy e28349d3fb Paste moved to core (#158)
* Paste moved to core

* Some fixies
2017-02-12 18:25:20 +03:00
George Berezhnoy 4b33f59031 List plugin improvements (#151)
* Fix

* Merge branch 'master' into list-hotfix

# Conflicts:
#	codex-editor.js
#	codex-editor.js.map
#	package.json
#	whatwg-fetch.js.map

* styles updted

* Ctrl+A fix

* Add comment to the new methods
2017-02-11 13:53:45 +03:00
Peter Savchenko d3f704a800 Link plugin prepare updated 2017-02-09 20:22:02 +03:00
George Berezhnoy 61fd151568 anchors added (#150)
* anchors added

* Styles improve and keyboard behavior fix

* Styles improve

* Translit added

* Anchors as default settings

* Remove trash changes

* Upd

* Anchors module added and version updated

* styles imroved

* remove anchor flag on mobile viewport
2017-02-08 09:39:07 +03:00
khaydarov 8f9844ff83 error log with caret (#147) 2017-02-02 17:13:05 +03:00
khaydarov 1397727115 paste module improvements (#145)
* paste module improvements

* paste callback improved

users won’t be able to paste on block without designMode
2017-02-02 16:58:05 +03:00
Peter Savchenko e71a12401a Refactoring (#144)
* codex -> codex.editor

* ESlint code style

* Code lint

* fix inline module 'this' call

* fixed toolbox leaf

* removed empty spaces

* caret module code improved
2017-02-01 20:25:59 +03:00
Peter Savchenko 70df6b20b0 New plugin preparation scheme - now async (#143)
- core.importScript now returns a Promise
- ui.preparePlugins now returns a Promise
- `prepare` method of tools now *should* return a promise
2017-02-01 12:14:00 +03:00
Peter Savchenko a7ed07a9e8 header type updated 2017-01-31 16:19:19 +03:00
Peter Savchenko 097c334ee2 fix header type -> header style 2017-01-31 16:06:09 +03:00
Peter Savchenko a224c55836 header types lowercase 2017-01-31 15:52:46 +03:00
Peter Savchenko 80303bc573 fix 'undefined' bug 2017-01-31 15:20:09 +03:00
Peter Savchenko 503bdf3a8a wrap text into <p> in paragraph tool 2017-01-31 00:49:56 +03:00
khaydarov 6960dbe58d removed image style dublicates (#142) 2017-01-30 20:45:19 +03:00
khaydarov c4f19d5c59 return empty text instead of undefined (#141)
* return empty text instead of undefined

* upd
2017-01-30 20:37:47 +03:00
khaydarov 87b20c0686 APi method renamed 2017-01-30 20:14:01 +03:00
khaydarov 869c65f3da code improved after review 2017-01-30 20:11:58 +03:00
khaydarov 119f7b7ec7 new method for paragraph parser
made new method that parses content
UL won’t we passed from sanitize
2017-01-30 19:56:52 +03:00
Peter Savchenko 1caaaeaaf0 incorrect scheme 2017-01-30 17:56:04 +03:00
Peter Savchenko 1b090ba815 quote styles updated 2017-01-30 17:10:59 +03:00
Peter Savchenko 6639a140e7 tweet and quote plugins updated
- [x] В цитате слишком мелкий шрифт в имени и должности. Нужно сделать
обычный, как у текста
- [x] Цитата - должность должна быть черным шрифтом
- [x] Цитата - сделать квадратное фото
- [x] Цитата у ce-quote 	— margin: 0;  padding: 15px 0;
- [x] В плагине твиттера лоадер пропадает слишком рано, до рендеринга
твита
- [x] Твиттер — у подписи добавить белый фон
- [x] Твиттер — добавить width 100% к iframe, убрать max-width у подписи
- [x] Твиттер — разрешить добавлять ссылки/жирность в подписи
2017-01-30 16:18:54 +03:00
khaydarov 5a08b311d1 twitters caption (#138) 2017-01-29 22:19:35 +03:00
khaydarov e9e05c9a9f apply filter blur immediatelly (#137) 2017-01-28 22:54:04 +03:00
khaydarov 664e01a020 small fixes 2017-01-28 22:51:09 +03:00
George Berezhnoy 81886fc563 Twitch fix (#135)
* fix

* Update embed.css

* upd version from master
2017-01-28 17:59:57 +03:00
Peter Savchenko 0c55a995b4 plus button showing, embed.js paddings removed (#133) 2017-01-28 17:11:03 +03:00
khaydarov 6889112301 changed caption contains to InnerHTML (#132) 2017-01-28 17:00:02 +03:00
khaydarov bb00b3e156 Hotfix (#130)
* fixed bug with onload callback

onload callback sends context

* fixed dataset bigurl

* heading settings
2017-01-28 16:38:10 +03:00
khaydarov d55c06d650 fixed bug with onload callback (#129)
onload callback sends context
2017-01-28 16:33:09 +03:00