Commit graph

352 commits

Author SHA1 Message Date
George Berezhnoy 0968152570 Upd 2017-04-24 13:49:57 +03:00
George Berezhnoy cf1734d1b6 Remove log 2017-04-24 13:08:07 +03:00
George Berezhnoy f0e92915ad Better browser behaviour emulation 2017-04-24 13:06:50 +03:00
George Berezhnoy 1286311d38 Some improvements 2017-04-24 10:23:48 +03:00
George Berezhnoy f8dda6c65d Finally remove personality from example.html 2017-04-24 03:17:01 +03:00
George Berezhnoy de9572064d Remove personality from example.html 2017-04-24 03:16:42 +03:00
George Berezhnoy f4a6f1cd9c Don't allow empty paragraphs 2017-04-24 03:08:03 +03:00
George Berezhnoy 8fac7517c6 Move paste event handler to paste.js 2017-04-24 02:26:08 +03:00
George Berezhnoy e027488fa8 Update version 2017-04-24 02:04:38 +03:00
George Berezhnoy 891d26ded7 Now pasted text splits into paragraphs 2017-04-24 02:02:06 +03:00
Peter Savchenko a0014e6296 Merge branch 'master' into release.1.6 2017-04-23 21:42:51 +03:00
Peter Savchenko da4d8153d7 Improve AJAX context saving (#184)
* Improve AJAX context saving

Value returned in beforeSend method now will be passed as context to
the Error, Success and Progress events

* resolve conflict
2017-04-23 17:11:03 +03:00
Murod Khaydarov 262f2d04fe Merge branch 'master' into release.1.6 2017-04-23 01:29:48 +03:00
Taly 79dfa8cbe7 Merge pull request #185 from codex-team/sanitizer
sanitize improvements
2017-04-23 01:29:14 +03:00
Murod Khaydarov aadde64fbe comments 2017-04-23 01:12:06 +03:00
Murod Khaydarov a281802b18 update 2017-04-23 01:08:10 +03:00
Murod Khaydarov 49a4290e8e sanitize improvements 2017-04-23 00:53:06 +03:00
Peter Savchenko bff230e7c7 Stylelint config added 2017-04-22 17:13:43 +03:00
Peter Savchenko 0c8f6e6a70 Merge remote-tracking branch 'origin/release.1.6' 2017-03-21 21:46:32 +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
Murod Khaydarov aff9ea13ad Merge branch 'master' into release.1.6
# Conflicts:
#	codex-editor.js
#	codex-editor.js.map
#	package.json
#	whatwg-fetch.js.map
2017-03-16 01:08:48 +03:00
khaydarov 7972b2ff50 sanitizer configuration (#179) 2017-03-16 00:42:47 +03:00
Taly a98d6e4f1a Release.1.6 (#178)
* Remove textarea, add holder

* Change textareaId to holderId release.1.6.0

* Update bundles release.1.6
2017-03-15 17:29:55 +03:00
Taly Guryn 35b6f4f83b Update bundles release.1.6 2017-03-15 17:27:50 +03:00
Taly Guryn 0bba3dcc3a Merge branch 'remove-textarea' into release.1.6 2017-03-15 17:26:43 +03:00
Taly Guryn 37a51c3faf Merge branch 'master' into release.1.6.0 2017-03-15 17:25:22 +03:00
Taly Guryn 53fb12dc7e Change textareaId to holderId release.1.6.0 2017-03-15 17:23:03 +03:00
Taly Guryn 16effa5f11 Remove textarea, add holder 2017-03-15 17:03:24 +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 83f0407ee2 callbacks module refactored and added description to each method. (#174)
* callbacks module refactored and added description to each method.

Now all methods have descriptions and documented as JSDoc style

* increase version

* refactored ui
2017-03-02 13:44:53 +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
Peter Savchenko f4e1b2aff7 release.1.5.5 – Transport updated 2017-02-27 19:19:42 +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
khaydarov 1f2139f407 new ui module (#167) 2017-02-27 14:52:29 +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
George Berezhnoy 7f737774bb Fix (#165) 2017-02-23 13:32:41 +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 9e32f5a47d hideToolbar flag added (#162) 2017-02-17 01:15:23 +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