Title: Mosne Text to Speech Block
Author: Mosne / Paolo Tesei
Published: <strong>2025 年 2 月 11 日</strong>
Last modified: 2025 年 12 月 7 日

---

搜索插件

![](https://ps.w.org/mosne-text-to-speech-block/assets/banner-772x250.png?rev=3261818)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/mosne-text-to-speech-block/assets/icon-256x256.png?rev=3261818)

# Mosne Text to Speech Block

 作者：[Mosne / Paolo Tesei](https://profiles.wordpress.org/mosne/)

[下载](https://downloads.wordpress.org/plugin/mosne-text-to-speech-block.0.3.5.zip)

 * [详情](https://cn.wordpress.org/plugins/mosne-text-to-speech-block/#description)
 * [评价](https://cn.wordpress.org/plugins/mosne-text-to-speech-block/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/mosne-text-to-speech-block/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/mosne-text-to-speech-block/#developers)

 [支持](https://wordpress.org/support/plugin/mosne-text-to-speech-block/)

## 描述

This is a block that allows you to add a text-to-speech feature to your website.

Using the Web Speech API, the plugin will read the content of the page according
to the document language and user’s preferences. No third-party services are used,
so no cookies are required. GDPR-friendly. Accessibility-ready.

### Key Features

 * Listen to the content of a page according to the document language and user’s
   preferences.
 * (New) Highlight the current sentence being spoken with custom colors.
 * Skip undesired content by adding the class .skip-speech to the element.
 * Accessibility-ready
 * No cookies used (GDPR-friendly)
 * Performance-optimized and lightweight
 * No block library required
 * Primarily built with native WordPress components
 * Developer-friendly and easy to customize

### Stay Connected

 * [View on GitHub](https://github.com/mosne/mosne-text-to-speech-block)
 * [Visit my website](https://mosne.it/)

### Credits

The icons of this block come from Heroicons with MIT license
 [heroicons.com](https://heroicons.com/)

## 屏幕截图

[⌊Example of the plugin in action⌉⌊Example of the plugin in action⌉[

Example of the plugin in action

## 区块

该插件提供了 1 个区块.

 *   Text to Speech Read the content of of a page using native Speech Synthesis 
   and Interactivity API.

## 安装

 1. You have a couple of options:
 2.  * Go to Plugins → Add New and search for “Mosne text to speech”. Once found, click“
       Install”.
     * Download the Mosne text to speech from wordpress.org and make sure the folder
       is zipped. Then upload via Plugins → Add New → Upload.
 3. Activate the plugin through the ‘Plugins’ screen on WordPress.
 4. Search for the “Mosne text to speech” block within the Block Editor (Gutenberg)
    and add it to a block navigation.

## 常见问题

### Can I skip some content?

You can skip some content by adding the class `.skip-speech` to the element.

## 评价

![](https://secure.gravatar.com/avatar/8c0ced2ad5a0c50ec3a0903b1d1946b4309a9b5e4ed01ff7f8d40bc710f49e3e?
s=60&d=retro&r=g)

### 󠀁[I only have 2 words for this !](https://wordpress.org/support/topic/i-only-have-2-words-for-this-2/)󠁿

 [nick6352683](https://profiles.wordpress.org/nick6352683/) 2025 年 2 月 11 日

Freaking amazing !

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/mosne-text-to-speech-block/reviews/)

## 贡献者及开发者

「Mosne Text to Speech Block」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Mosne / Paolo Tesei ](https://profiles.wordpress.org/mosne/)

「Mosne Text to Speech Block」插件已被翻译至 2 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/mosne-text-to-speech-block/contributors)
为本插件所做的贡献。

[帮助将「Mosne Text to Speech Block」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/mosne-text-to-speech-block)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/mosne-text-to-speech-block/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/mosne-text-to-speech-block/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/mosne-text-to-speech-block/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/mosne-text-to-speech-block/)。

## 更新日志

#### 0.3.5 – 2025-12-30

 * Comprehensive security improvements
 * Input validation for all user inputs
 * Content sanitization for all text processing
 * Secure localStorage operations with validation
 * Enhanced error handling that doesn’t expose sensitive information
 * Fixed class exclusion filter functionality

#### 0.3.4 – 2025-10-23

 * Fix A11y issues on svg icons
 * Fix hidden buttons styles
 * Fix block support declaration issue

#### 0.3.3 – 2025-05-16

 * Fix selected text highlighting after pause and button flex wrap on mobile

#### 0.3.2 – 2025-03-28

 * Complete refactor and bug fix

#### 0.3.1 – 2025-03-26

 * Minor bug fix

#### 0.3.0 – 2025-03-25

 * Added a new custom skip classes field
 * Fix compatibility issues with Firefox and Android.
 * Improved performance

#### 0.1.1 – 2025-02-05

 * Fix security issue

#### 0.1.0 – 2025-02-01

 * Initial release

## 额外信息

 *  版本 **0.3.5**
 *  最后更新：**11 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.5 或更高版本 **
 *  已测试的最高版本为 **6.8.12**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/mosne-text-to-speech-block/) 、 
   [French (France)](https://fr.wordpress.org/plugins/mosne-text-to-speech-block/)
   和 [Italian](https://it.wordpress.org/plugins/mosne-text-to-speech-block/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/mosne-text-to-speech-block)
 * 标签
 * [accessibility](https://cn.wordpress.org/plugins/tags/accessibility/)[audio](https://cn.wordpress.org/plugins/tags/audio/)
   [block](https://cn.wordpress.org/plugins/tags/block/)[speech](https://cn.wordpress.org/plugins/tags/speech/)
   [tts](https://cn.wordpress.org/plugins/tags/tts/)
 *  [高级视图](https://cn.wordpress.org/plugins/mosne-text-to-speech-block/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/mosne-text-to-speech-block/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/mosne-text-to-speech-block/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/mosne-text-to-speech-block/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/mosne-text-to-speech-block/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/mosne-text-to-speech-block/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/mosne-text-to-speech-block/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/mosne-text-to-speech-block/reviews/)

## 贡献者

 *   [ Mosne / Paolo Tesei ](https://profiles.wordpress.org/mosne/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/mosne-text-to-speech-block/)