Switch from grapheme-splitter to graphemer (#11037)
This commit is contained in:
parent
6ed81dc1a5
commit
c47b587225
5 changed files with 9 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue