File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,31 @@ All css classes are consistent, so feel free to use these names in your css:
159
159
- `rsw-separator`
160
160
- `rsw-dd` (drop down list)
161
161
162
-
162
+ ## Troubleshooting
163
+
164
+ ### Style issues: no list item bullets, wrong link styles and so on
165
+
166
+ [#31](https://github.com/megahertz/react-simple-wysiwyg/issues/31),
167
+ [#44](https://github.com/megahertz/react-simple-wysiwyg/issues/44),
168
+ [#45](https://github.com/megahertz/react-simple-wysiwyg/issues/45)
169
+
170
+ RSW editor doesn' t isolate its styles from the parent styles.
171
+ It' s a pretty common case when you use a global reset or normalize styles which
172
+ remove bullets or numbers for lists.
173
+ To fix that, you should redefine these styles again:
174
+
175
+ ```css
176
+ .rsw-ce ul {
177
+ list-style: disc;
178
+ padding-left: 2em;
179
+ }
180
+
181
+ .rsw-ce ol {
182
+ list-style: decimal;
183
+ padding-left: 2em;
184
+ }
185
+ ```
186
+
163
187
## Credits
164
188
165
189
- Based on
You can’t perform that action at this time.
0 commit comments