• Resolved chris7ine

    (@chris7ine)


    When using Direct Stripe with Elementor (Pro) I experience a problem with the “add stripe button” in the Elementor text editor: when clicked, an empty white box appears and the screen freezes.

    Shortcodes work fine so my main question is how can I remove the “add stripe button” from the Elementor text editor frame?

    Thank you so much ??

    • This topic was modified 5 years, 7 months ago by chris7ine.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @chris7ine ,

    Thank you for using Direct Stripe.

    The best solution is using an elementor hook to hide the button using CSS styles.

    In the CSS stylesheet goes #add_ds { display: none; } and to enqueue the stylesheet you can use the example at https://code.elementor.com/php-hooks/#elementoreditorbefore_enqueue_scripts.

    Otherwise you can comment ( add // at the beginning of the line ) l18 in wp-content/plugins/direct-stripe/controllers/class-ds-admin.php file

    I will add a hook to make it easier to remove that button ( that is partially deprecated ).

    Kind regards,

    Thread Starter chris7ine

    (@chris7ine)

    Thank you so much! Kind regards ??

    PS I have downloaded and installed the beta but it showed error messages (directory does not exist line 34), so I have reverted to the previous version for now.

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @chris7ine ,

    I’m glad that helped and thank you for letting me know about the issue updating to beta.

    I corrected what I think created this issue, if you could try again and share feedback, that would really help !

    Kind regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Direct Stripe and Elementor Text Editor’ is closed to new replies.