I am trying to write a plugin to manage all the element properties of Boostrap Blocks. If someone clicks on the button it will show button related properties like button colors, size, etc... (based on default bootstrap classes) The following code - modifies the button classes and settings got stored in the model howev...
artf
You don't need to update the view in this case, just change the classes inside the model. All you need is this
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.
General Information I'm trying the the current demo on http://grapesjs.com/demo-newsletter-editor.html. The webpage demo works without a problem but the newsletter demo fails. I am using IE 11 on Windows 10. IE Version is 11.1088.15063.0, updateversion is 11.0.65 (KB4103768).What happens As seen in the screenshot the...
TclasenITVT
@artf thank you a lot for fixing this π
shareefhiasat
@TclasenITVT please edit steps to reproduce and add this link Test Browser online check IE 11 online grapesjs link @artf its working on Edge IEs ( version 20 in my case ) Regards
TclasenITVT
@shareefhiasat are you satisfied with the way I edited the steps to reproduce?
Not sure if it's suppose to be like this but I git cloned the repo and npm start. I can only see the "Block" element; cannot see Links, Videos, Sections, Text, Quotes, etc. elements. How do these other elements in the Block Manager?
JulyanoF
@dinhjeffrey you need to install this extension: Basic Blocks
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.
Demo / reproduce problem https://jsfiddle.net/shareefhiasat/u8Lodyh7/1/ Question Not sure if its bug or i dont know how to get the desired behaviour Expected I need text element like, and be able to style it but NOT changing what content (text in it) Actual and What i have Tried I tried from wiki and docs some solutio...
shareefhiasat
@artf yes its working my friend , thanks a million here how it is now for future reference , fiddle you cant edit , but you can style https://jsfiddle.net/shareefhiasat/jdpkccz0/ You can close it, Regards
shareefhiasat
UPDATE for future reference , i updated jsfiddle with editable and none editable component example, note that the appearance and behavior of hovering over elements dose not work with its not editable
shareefhiasat
@julyanof @artf Please help may be it too simple to figure out my self
Is it possible to have two elements (div and lnik) and consider as a single? For example: there is the my following link block: <div class="row"><a class="btn" href="http://test.com">Link Here</a></div> And I would like that on click div or button, it shows the <a> as a selected element on editor views, but in wrapper...
artf
You should create a custom component
JulyanoF
@artf I tried extending original link component, but it seems not working It's not changing anything.. I already tried to disable autorender and render after all changes. I could change the content only setting a new, using BlockManager: b...
JulyanoF
@artf as you said, I tried to use Components, but I didn't get expected result. Could you help me? My link block prints this content: <div style="height:45px;margin:0 auto 10px auto;padding: 5px 5px 5px 5px;width: 100%;text-align:center"><...
Hello @artf I've to create new block with multiple elements and traits. Like social profile element having multiple element like facebook, G-plus, twitter many more elements. and every element having two options one for URL another for icon to show/hide through check-box. Please see fiddle on URL: https://jsfiddle.net...
artf
@kuldeepcis You create a social-icons component as a <div>(by default) and then on init you add this: Then you select the <a> and expect to see social-icons traits on it, well you're wrong, because that <a> is another component... Change y...
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 have set the background-color for body. But when it will be edit code or export data using command editor.runCommand ('gjs-get-inlined-html'); there is no attribute for body that has been set. How do I solve for the body tag to retrieve when using that command? Or is there another way? Image when set background-colo...
artf
There is an option for it
agungjanuar
Thanks @artf , it works :)
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.