theSC0RP

Results comments of theSC0RP

Thanks for the reply @artf. I was doing a mistake while updating the iframe so now my problem is solved! Just another question, is there any built-in method to refresh...

Hi @confettidc, you can try doing something like, have a counter variable and update it once a block of a type is added and remove the newly added block if...

@GoodPHP Is this a paid plugin?

I tried to update the inline script using the following steps: - Get the document of the iframe: `iframeDoc = editor.Canvas.getDocument()` - Get the innerHTML of the body of the...

I tried to add the select and hover events by running `component-select` command by writing `editor.trigger('core:component-select')` but that didn't help either and doing `editor.runCommand('core:component-select')` gives an error. Am I missing...

Hey, @artf. Thanks for the reply. This does not seem to work. I got the following errors after the above code was run. ![Error](https://user-images.githubusercontent.com/30771519/117010389-6161a700-ad0a-11eb-9501-1ae7acbd2b16.png) It works on the demo page...

@artf, Is that version stable? I had doubts regarding the latest version because it has a warning icon along with the text "**POSSIBLY BREAKING CHANGE**". ![Latest Version](https://user-images.githubusercontent.com/30771519/117480576-6aa77980-af7f-11eb-83f9-fb1c82331033.png)

You can take a look at the following (if you haven't) to understand how the map component works: - [Map Component Model](https://github.com/artf/grapesjs/blob/dev/src/dom_components/model/ComponentMap.js) - [Map Component View](https://github.com/artf/grapesjs/blob/dev/src/dom_components/view/ComponentMapView.js)

Hey @Asifislam110, I don't know if this is the best solution but this was one that I could come up with. ``` const textBlock = editor.BlockManager.get("text"); // get the text...