Skip to content

Typo in example function #9

@robertsisaacp

Description

@robertsisaacp

Editor Class Reference Page

This page features the following example code:

// get the currently selected text  
let text = editor.getSelectedText()  
// replace selected text with uppercased version  
editor.setSelectedText(text.toUppercase())

There is a typo; text.toUppercase() is called when it should be text.toUpperCase(). Sorry if this is the wrong place to submit this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions