Skip to content
Discussion options

You must be logged in to vote

Hey there @SequelONE 👋

I asked our friend ChatGPT:

I guess is by adding a bit of Javascript to your page. 😃

You can add a custom javascript file to your page with the code using a script widget

Alternatively you can create a copy of ckeditor field php artisan backpack:field ckeditor_custom --from=ckeditor and register there some event listener that you send from the button with the generated text and you set the text on the editor.

Don't forget to change the field in your controller to use your ckeditor_custom field.

Cheers

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jcastroa87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants