Switch from grapheme-splitter to graphemer (#11037)

This commit is contained in:
Michael Telatynski 2023-06-05 15:39:46 +01:00 committed by GitHub
parent 6ed81dc1a5
commit c47b587225
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 4 deletions

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 {