如何创建 RTL(从右到左)推文按钮

发布于 2025-01-10 02:51:01 字数 837 浏览 3 评论 0原文

我有一个带有推文按钮的 RTL(阿拉伯语)博客,该按钮利用标题来填充推文。

问题是 Twitter 显示了标题的 LTR 版本和 Twitter Web Intent 似乎没有传递文本方向的选项。

这是我所看到的: 输入图片这里的描述

这是我应该看到的内容(修改后的 Twitter 样式): 输入图片这里的描述

这里是没有样式的实际字符串: 'JSON Stringify - كרר Г׭צ׃ كև كففف٢٠ JS'

I have a RTL (Arabic) blog with a tweet button that utilizes the title to populate tweets.

The issue is that twitter shows the LTR version of the title and the Twitter web intent does not seem to have an option to pass text direction.

Here is what I see:
enter image description here

Here is what I should see (modified twitter styles):
enter image description here

And here is the actual string without styling: 'JSON Stringify - كيفية تحليل كائن JSON باستخدام JS'

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文