ADD A SECTION PULGIN #5701
Unanswered
SAKTHIVELMARIMUTHU
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The content should contain the actual HTML that should be added after dropping the block for example you can use something like
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
THE THING IS section is like the one row or a column where we can add our default columns , image , vedio these kind of elements inside our section its is basically a container it hold the default elements the below code is a piece i wrote but unfortunatly i dont know what to place in content if its a image i place a image tag or a hedaing i place or a paragraph means
so who to define a section it should be a row or a column
Section1Plugin(editor) {
editor.Blocks.add('section 1', {
label: 'Section 1',
category:
media: 'section',
content: ' ',
});
}
Beta Was this translation helpful? Give feedback.
All reactions