Go to any of the demo, select a text box, give it a background color. Clone it. Then try to drag in another text component and it doesn't let you.
artf
Thanks @kickbk now I get it. It was already fixed here #779 and will be available in the next release
artf
@kickbk I can't reproduce it, but I think I'm doing something wrong, can you provide a screencast/gif of the behavior? (or anyone who faces the same issue) Thanks
Hello! I want without having to create a new block button, and stopping the event associated to the image that this run:open-assets get the area created by the editor in the canvas and add there the image that I got with my personalized modal image. I want to clarify that when I double-click on the image inside the ca...
artf
Pay attention to the current command Your command should be something like this
artf
Apologize @chiqui3d but try to elaborate better, because I didn't get a single statement of what you're asking
chiqui3d
Yes @artf , you're right, I just updated it, I hope it's understood now.
I would like to know how can I create a custom "option" with custom content in this place:
artf
This is just a default Panel with 3 buttons where each button triggers its own command OpenStyleManager OpenTraitManager OpenBlocks <- being the last modified, use this as a starting point So if want to add a new button there you can use t...
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hello, I would like to know if I can only edit the icon and title of the code command. Also another doubt, is that I'm starting and I'm making a mess when it comes to searching the documentation, by chance you don't have an image of the publisher that says it's everything to identify it, faster and know how to edit so...
chiqui3d
Solved with removeButton
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
In Components & JS docs there's this example: This works perfectly. But I couldn't use a function instead of a string in script, as is said it's supported like this example: It won't happen anything. The documentation isn't very clear about using scripts in blocks or components.
artf
Find where is the issue, it will be fixed in the next release
I'm trying to separete a text editor from block, something like it: Is it possible?
artf
@JulyanoF sure, you can create a custom Trait (eg. textarea which, on render, initializes with some custom RTE) and on update change the component's content ps: please, next time, follow the issue template
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
It's as if it's not parsing down the DOM Reproduce. View console log https://codesandbox.io/s/lxl7x2mnq You can see there are way more than 5 components / models in this sandbox. But console log only shows 5 If I add one to the root of the dom tree, it will show 6. But if I add one to a child component, it will not se...
artf
@Geczy probably I've to update the description, but getComponents just returns wrapper's components (with its children), if you want to return an array of all components you can do this:
Geczy
Works great, thanks
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I already tried different ways to do it, but it's still not working... First: editor.addComponents('<style>img{width:100%}.botao-roxo{background-color:#8D7EA2;border-color:#8D7EA2;color:#FFF}.botao-roxo:active,.botao-roxo:focus,.botao-roxo:hover{background-color:#FFF;border-color:#8D7EA2;color:#8D7EA2}.botao-grande{wi...
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi Guys, I dont understand how save ad load conditionl html comment for e.g: <!--[if (mso)|(IE)]> <table align="center" border="0" cellpadding="0" cellspacing="0" width="650"> <tr> <td> <![endif]--> <table align="center" border="0" cellpadding="0" cellspacing="0" class="full-width" style="max-width: 650px;" width="100...
artf
You have to create the comment component #208
lock[bot]
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I am cloning an element. I want to get the next element or previous element. By this I mean to say that How can I get the model or How should I give some custom attribute to the cloned element. Thanks in Advance.
JulyanoF
When you say "element", you are talking about blocks? Like button, text, section...?
perfect-coders
yes
JulyanoF
You can get all blocks like this: var blocks = editor.BlockManager.getAll().models;