Commit graph

32 commits

Author SHA1 Message Date
George Berezhnoy e06d3c36eb Hot fix for Codex.Notes 2017-10-12 20:04:35 +03:00
George Berezhnoy bc3e3615f5 Update clear method 2017-08-30 16:04:17 +03:00
George Berezhnoy 6ebe8fa347 Update 2017-08-30 14:28:23 +03:00
George Berezhnoy a12dddcc52 Add content.clear and content.laod methods 2017-08-30 14:18:52 +03:00
George Berezhnoy 1286311d38 Some improvements 2017-04-24 10:23:48 +03:00
George Berezhnoy f4a6f1cd9c Don't allow empty paragraphs 2017-04-24 03:08:03 +03:00
George Berezhnoy 891d26ded7 Now pasted text splits into paragraphs 2017-04-24 02:02:06 +03:00
khaydarov 7972b2ff50 sanitizer configuration (#179) 2017-03-16 00:42:47 +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 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 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 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
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
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
khaydarov b18a6a6deb Merge branch 'master' into paragraph-parser-algorythm
# Conflicts:
#	codex-editor.js
#	codex-editor.js.map
#	package.json
#	whatwg-fetch.js.map
2017-01-30 20:26:03 +03:00
khaydarov c5140d1085 comments to function 2017-01-30 20:20:29 +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
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 1279c5e9d2 restore feed mode (#124)
* restore feed mode

* removed logs
2017-01-26 11:57:35 +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 8e6cf4eb6f fixed bug when enter pressed (#112)
When enter was pressed on empty node or node that has siblings,
function worked incorrect and created a new block
2017-01-20 21:25:28 +03:00
khaydarov 7af56b4149 Sanitizer and paste listener (#110)
* initial commit

* blockPasteCallback improved with caret restoring
2017-01-18 18:06:36 +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
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 dee4d856fa plugin improved 2017-01-10 20:14:29 +03:00
khaydarov fbbccaa350 updated youtube plugin 2017-01-10 20:12:32 +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