# Javascript: Selection.removeInlineStyles Method

> Removes all character based styles of the selected text so that all attributes are reset to the attributes of the paragraph style.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 24.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: Selection.removeInlineStyles Method
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selection/removeinlinestyles-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selection/removeinlinestyles-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/selection/removeinlinestyles-method/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/selection/removeinlinestyles-method/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/selection/removeinlinestyles-method/#syntax)
- [Parameters](https://docs.textcontrol.com/ds-server/reference/javascript/selection/removeinlinestyles-method/#parameters)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/selection/removeinlinestyles-method/#examples)

---

## Nearby

- **Previous:** [Javascript: Selection.removeFormatting Method](https://docs.textcontrol.com/ds-server/reference/javascript/selection/removeformatting-method/llms.txt)
- **Next:** [Javascript: Selection.save Method](https://docs.textcontrol.com/ds-server/reference/javascript/selection/save-method/llms.txt)
