README is empty
README is empty
README is empty
README is empty
README is empty
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
In order to add custom attributes to an HTML element that is generated by GrapesJS, one can simply make use of traits. For example, if you wish to produce an HTML element which contains the tag data-noout
, a trait with the name data-noout
can be added to a custom component.
var domComps = editor.DomComponents;
var dType = domComps.getType('default');
var dModel = dType.model;
I hereby claim:
- I am sbarale on github.
- I am geekmind (https://keybase.io/geekmind) on keybase.
- I have a public key ASB4zebwfTMhuR-4izI4N4jfX2BZ6jhjTzubc_vYQUx_SAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Helpers\Nova\Action; | |
use DateTime; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
use Illuminate\Support\Collection; | |
use Illuminate\Support\Facades\Queue; | |
use Laravel\Nova\Actions\Action; | |
use Laravel\Nova\Actions\ActionEvent; |