Switch from grapheme-splitter to graphemer (#11037)

This commit is contained in:
Michael Telatynski
2023-06-05 14:39:46 +00:00
committed by GitHub
parent 6ed81dc1a5
commit c47b587225
5 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ limitations under the License.
* @param text the plaintext to put in the user's clipboard
*/
import { logger } from "matrix-js-sdk/src/logger";
import GraphemeSplitter from "grapheme-splitter";
import GraphemeSplitter from "graphemer";
export async function copyPlaintext(text: string): Promise<boolean> {
try {