Commit graph

73 commits

Author SHA1 Message Date
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
khaydarov bc8fb1aed9 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
2016-12-25 17:41:57 +03:00
khaydarov 458c834dc9 new redactor version (#94)
* new redactor version

* update

* update

* bundler config updated

* clear bundler without plugins
2016-12-07 21:25:31 +03:00
khaydarov b0d3907793 changed parsing method. Now data parses data like sample.json (#84)
* changed parsing method. Now data parses data like sample.json

* saver module (#86)
2016-07-15 18:29:54 +03:00
khaydarov f5c8dc82e3 fixed bug — enterkey pressed on toolbar. (#83) 2016-07-15 14:43:30 +03:00
khaydarov 983d751b90 send errors when something wrong (#76)
* send errors when something wrong

* upgrade notifications module

* re-designed error notifications

* error appending
2016-07-14 20:50:43 +03:00
khaydarov 9425e17598 new modifications
1) improved blocks transmition. We can switch contenteditable elements
by clicking arrow buttons.

2) Refactoring (Removing) blocks. When backspace key pressed and input
is empty, we can remove from DOM this element
2016-07-13 20:08:53 +03:00
Menshikov Alexander 90f1a20863 Tool list (#69)
* Add tool-list
Add rendering
Remove unneccessary files

* Add settings for list plugin

* remove code stylws

* default paramètres iimproved

* remove logs
2016-07-02 20:32:45 +03:00
Menshikov Alexander 0626ca1f07 Tool code (#67)
* Add error background

* Add tool code
Fix switch block and insert block for new system with div wrappers

* Remove unneccessary appendChild

* Fix css in tool code
2016-07-02 19:18:38 +03:00
khaydarov 77273f8af9 ready 2016-07-02 18:43:45 +03:00
khaydarov 2f2f508659 merged 2016-07-02 18:37:10 +03:00
khaydarov 56db847a11 css updated 2016-07-02 18:33:16 +03:00
Peter Savchenko b25ba148cc arrow up and left buttons callback update 2016-07-02 17:36:46 +03:00
Menshikov Alexander a70a9831eb Link plugin frontend (#63)
* Implement link download by enter press

* Change promise structure

* Fix promises fetch

* Server meta-getter

* Change keyEnterCode to ENTER_KEY

* Add url and url-text parsing

* Attached loader

* Loader gif

* Remove a fish :D
2016-07-02 15:36:47 +03:00
khaydarov 6b69d1f325 Merge branch 'master' into quotes
# Conflicts:
#	example.html
2016-07-02 15:30:08 +03:00
Peter Savchenko a6a1fec6d8 each blocks now wraps with DIV (#65)
- down arrow handler improved
- image plugin started
2016-07-02 15:28:36 +03:00
khaydarov f942dcadd2 quotes css updated 2016-07-02 15:24:35 +03:00