Commit graph

89 commits

Author SHA1 Message Date
Taly Guryn dfdaba6bb1 editor.settings.placeholder 2017-08-30 06:48:52 +03:00
Taly Guryn 49827b75d7 Add custom placeholder 2017-08-30 06:33:09 +03:00
Taly Guryn ae073a61ce Add article id 2017-08-30 05:22:35 +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
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 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
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
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 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 f3c8d44fbd List tool validate and sanitise improved 2017-02-20 18:52:41 +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
Peter Savchenko d8297116b8 1.4.8. - anchors module updated 2017-02-10 16:45:27 +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 f5314dfab6 Prepare plugins (#148)
* prepare plugins improvements

* prepare plugins asyncronically

* update version

* restore data from cache when plugin is unavailable

* added comments to the complicated solution

* new module tools.js for methods working with plugins

* remove ArrayOfCachedData

* build updated

* remove trash
2017-02-05 17:50:48 +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 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 6e81e84b97 embed to video_extended (#131) 2017-01-28 16:52:53 +03:00
khaydarov 48438d456e merged 2017-01-26 19:12:08 +03:00
khaydarov ef714fa5dd plugins improved 2017-01-26 17:43:49 +03:00
khaydarov 68d2f8fb1e twitter fixed 2017-01-26 17:29:14 +03:00
khaydarov 174f7d1a2b Merge branch 'master' into youtube-plugin-added
# Conflicts:
#	codex-editor.js
#	codex-editor.js.map
#	whatwg-fetch.js.map
2017-01-26 16:35:37 +03:00
khaydarov bf065696b8 Merge branch 'master' into quote-module
# Conflicts:
#	codex-editor.js
#	codex-editor.js.map
2017-01-26 16:18:21 +03:00
George Berezhnoy a8cf1bcdd6 Validation for embed plugin added 2017-01-26 04:34:00 +03:00
khaydarov cc49b8fa2c quote improved 2017-01-26 03:59:41 +03:00
George Berezhnoy 1269a84f95 Merge remote-tracking branch 'refs/remotes/origin/master' into youtube-plugin-added 2017-01-26 03:47:19 +03:00
khaydarov ed2848ca53 initial commit 2017-01-26 03:14:40 +03:00
George Berezhnoy 7a37809532 Yandex music added 2017-01-26 02:55:40 +03:00
khaydarov e3a2bd5932 image-plugin 2017-01-26 02:41:04 +03:00
khaydarov bbda0fb3ad header module (#119) 2017-01-26 01:41:18 +03:00
George Berezhnoy 3125b05fc4 Twitch support added and plugin renamed 2017-01-23 22:05:45 +03:00
khaydarov a9a0992217 new feature (#109)
* new feature

method validate must be appended to codex.tools.

* beta-redactor

* before merge

* validate is not important setting
2017-01-18 18:12:50 +03:00
George Berezhnoy 7439c5aa38 Rewrite plugin with function closure 2017-01-13 00:16:17 +03:00
George Berezhnoy 48e36e3875 Merge remote-tracking branch 'refs/remotes/origin/master' into youtube-plugin-added 2017-01-12 21:15:53 +03:00
George Berezhnoy 089c8b59de Paste tool remake and more video-services added 2017-01-12 16:56:06 +03:00
khaydarov 83dbad9299 new setting for plugins. (#107) 2017-01-11 21:19:00 +03:00
George Berezhnoy a4bc52af04 Styles and names refactoring 2017-01-11 14:00:50 +03:00
khaydarov 0ed3e221cf update from master 2017-01-10 21:25:22 +03:00
khaydarov c3ee7560f1 cover restoring, versioning, sanitize and new initialization structure (#105)
* cover restoring fixed

* upd

* fetch fixed in safari

* updated

* plugins

* plugins ready

* code improved

* fixed bug with backspace

* improved architecture

* Versioning (#102)

* start versioning

* codex.version

* eslint settings

* versioning improved

* cover restoring and fetch function fixed (#101)

* cover restoring fixed

* upd

* fetch fixed in safari

* updated

* plugins

* plugins ready

* code improved

* fixed bug with backspace

* improved architecture

* new sanitize method (#103)

* new sanitize method

Need to fix caret position

* removed console logs

* version updated

* eslint style

* caret position

* big fixed on sanitize method

* sanitize improved, using observers

* sanitize: using html-janitor

* fixes

* last fixes, code improved after review

* updated

* new bundle

* webpack config improved

* upd

* upd

* upd

* upd

* clear from conflicts

* upd

* upd
2017-01-10 21:22:40 +03:00
khaydarov fbbccaa350 updated youtube plugin 2017-01-10 20:12:32 +03:00
George Berezhnoy 065540a782 Youtube plugin added
Youtube videos can be added by pasting video-url.
2017-01-05 21:53:40 +03:00