Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cover restoring, versioning, sanitize and new initialization structure #105

Merged
merged 15 commits into from
Jan 10, 2017
Prev Previous commit
Next Next commit
Merge branch 'master' into cover-fix
# Conflicts:
#	codex-editor.js
#	codex-editor.js.map
#	editor.js
#	example.html
#	modules/callbacks.js
#	modules/caret.js
#	modules/content.js
#	modules/core.js
#	modules/draw.js
#	modules/notifications.js
#	modules/parser.js
#	modules/renderer.js
#	modules/saver.js
#	modules/toolbar/inline.js
#	modules/toolbar/toolbar.js
#	modules/toolbar/toolbox.js
#	modules/tools.js
#	modules/transport.js
#	modules/ui.js
#	plugins/header/header.js
#	whatwg-fetch.js.map
  • Loading branch information
khaydarov committed Jan 10, 2017
commit 5ae717fa6a508080d917e8db3f21ec9e227415ec
5 changes: 4 additions & 1 deletion codex-editor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion codex-editor.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
var codex = (function(codex){

var init = function() {

codex.core = require('./modules/core');
codex.ui = require('./modules/ui');
codex.transport = require('./modules/transport');
Expand Down
24 changes: 24 additions & 0 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@

</body>

<<<<<<< HEAD
<script src="./codex-editor.js?v=108"></script>
<link rel="stylesheet" href="./codex-editor.css?v=11000">
=======
<script src="./codex-editor.js?v=11"></script>
<link rel="stylesheet" href="./codex-editor.css?v=11">
>>>>>>> master

<link rel="stylesheet" href="codex-editor.css">

Expand Down Expand Up @@ -48,8 +53,11 @@
<script>
codex.start({
textareaId : "codex_area",
<<<<<<< HEAD
initialBlockPlugin : 'paragraph',
uploadImagesUrl : '/hull',
=======
>>>>>>> master
tools : {
paragraph: {
type: 'paragraph',
Expand All @@ -60,8 +68,12 @@
render: paragraphTool.render,
save: paragraphTool.save,
enableLineBreaks: false,
<<<<<<< HEAD
allowedToPaste: true,
// handleTagOnPaste : ['P']
=======
allowedToPaste: true
>>>>>>> master
},
paste: {
type: 'paste',
Expand All @@ -84,8 +96,12 @@
settings: headerTool.makeSettings(),
render: headerTool.render,
save: headerTool.save,
<<<<<<< HEAD
displayInToolbox: true,
// handleTagOnPaste : ['H1', 'H2', 'H3', 'H4', 'H5', 'H6']
=======
displayInToolbox: true
>>>>>>> master
},
code: {
type: 'code',
Expand Down Expand Up @@ -152,6 +168,10 @@
settings: null,
render: instagramTool.reneder,
save: instagramTool.save,
<<<<<<< HEAD
=======
displayInToolbox: false,
>>>>>>> master
enableLineBreaks: false,
allowedToPaste: false
},
Expand All @@ -164,6 +184,10 @@
settings: null,
render: twitterTool.render,
save: twitterTool.save,
<<<<<<< HEAD
=======
displayInToolbox: false,
>>>>>>> master
enableLineBreaks: false,
allowedToPaste: false
}
Expand Down
1 change: 1 addition & 0 deletions modules/toolbar/toolbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @author Codex Team
* @version 1.0
*/

var toolbox = (function(toolbox) {

toolbox.init = function () {
Expand Down
1 change: 1 addition & 0 deletions modules/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* @author Codex Team
* @version 1.0
*/

var tools = (function(tools) {

return tools;
Expand Down
2 changes: 1 addition & 1 deletion whatwg-fetch.js.map

Large diffs are not rendered by default.

You are viewing a condensed version of this merge commit. You can view the full changes here.