mirror of
https://github.com/codex-team/editor.js
synced 2026-03-15 23:25:47 +01:00
BlockManager
This commit is contained in:
parent
b83bd752f9
commit
bf83f41cc2
10 changed files with 2525 additions and 1692 deletions
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
</body>
|
||||
|
||||
<!--<script src="plugins/paragraph/paragraph.js?v=100"></script>-->
|
||||
<!--<link rel="stylesheet" href="plugins/paragraph/paragraph.css">-->
|
||||
<script src="plugins/paragraph/paragraph.js?v=100"></script>
|
||||
<link rel="stylesheet" href="plugins/paragraph/paragraph.css">
|
||||
|
||||
<!--<script src="plugins/header/header.js"></script>-->
|
||||
<!--<link rel="stylesheet" href="plugins/header/header.css">-->
|
||||
|
|
@ -71,26 +71,25 @@
|
|||
displayInToolbox : true,
|
||||
enableLineBreaks : true
|
||||
}
|
||||
},
|
||||
data: {
|
||||
items: [
|
||||
{
|
||||
type : 'paragraph',
|
||||
data : {
|
||||
text : 'Привет от CodeX'
|
||||
}
|
||||
},
|
||||
{
|
||||
type : 'paragraph',
|
||||
data : {
|
||||
text : 'Пишите нам на team@ifmo.su'
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
});
|
||||
|
||||
console.log(editor);
|
||||
|
||||
var items = [
|
||||
{
|
||||
type : 'paragraph',
|
||||
data : {
|
||||
text : 'Привет от CodeX'
|
||||
}
|
||||
},
|
||||
{
|
||||
type : 'paragraph',
|
||||
data : {
|
||||
text : 'Пишите нам на team@ifmo.su'
|
||||
}
|
||||
},
|
||||
];
|
||||
|
||||
// var editor2 = new CodexEditor({
|
||||
// holderId : 'cdx',
|
||||
// initialBlock: 'header'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue