mirror of https://github.com/zulip/zulip.git
1cbff7094b
Added a copy-to-clipboard button to the code blocks in the API and Help Center docs. Previously, copying code from the docs required manual copying, which was cumbersome. Used the same copy-to-clipboard svg icon as the one used in web/src but manually created the button within the js function instead of using a template. Updated the pre CSS element to have relative positioning and gave the copy-codeblock element absolute positioning to ensure the button stayed in the top-right corner. Fixes #25726. |
||
---|---|---|
.. | ||
activity.css | ||
billing.css | ||
email_log.css | ||
footer.css | ||
integrations.css | ||
integrations_dev_panel.css | ||
landing_page.css | ||
markdown.css | ||
navbar.css | ||
portico.css | ||
portico_signin.css | ||
portico_styles.css | ||
stats.css |