|
337 | 337 | "width": 1120, |
338 | 338 | "cleanup_on_startup": True, |
339 | 339 | "custom_undo_redo_levels": 20, |
340 | | - "plugins": ''' |
| 340 | + "plugins": """ |
341 | 341 | anchor autolink charmap code codesample directionality |
342 | 342 | fullscreen image insertdatetime link lists media |
343 | 343 | nonbreaking pagebreak preview save searchreplace table |
|
347 | 347 | bold italic underline superscript subscript fontsizeselect |
348 | 348 | | alignleft alignright | aligncenter alignjustify |
349 | 349 | | indent outdent | bullist numlist | |
350 | | - | link visualchars charmap hr nonbreaking | code preview fullscreen |
| 350 | + | link visualchars charmap image hr nonbreaking | code preview fullscreen |
351 | 351 | """, |
| 352 | + "paste_data_images": False, |
352 | 353 | "force_p_newlines": True, # TODO: could be False? |
353 | 354 | "force_br_newlines": True, # TODO: could be False? |
354 | 355 | "forced_root_block": "", |
355 | 356 | "contextmenu": "formats | link", |
356 | 357 | "menubar": False, |
357 | 358 | "statusbar": False, |
358 | | - # https://www.tiny.cloud/docs/configure/content-filtering/#invalid_styles |
359 | 359 | "invalid_styles": {"*": "opacity"}, # Global invalid style |
360 | | - # 'extended_valid_elements': 'iframe[src|frameborder|style|scrolling|class|width|height|name|align]', |
| 360 | + # https://www.tiny.cloud/docs/configure/content-filtering/#invalid_styles |
| 361 | + # "extended_valid_elements": "iframe[src|frameborder|style|scrolling|class|width|height|name|align]", |
361 | 362 | # If more formatting possibilities needed (or more rows), choose from these: |
362 | | - # 'toolbar1': ''', |
| 363 | + # "toolbar1": """, |
363 | 364 | # fullscreen preview bold italic underline | fontselect, |
364 | 365 | # fontsizeselect | forecolor backcolor | alignleft alignright | |
365 | 366 | # aligncenter alignjustify | indent outdent | bullist numlist table | |
366 | 367 | # | link image media | codesample | |
367 | | - # ''', |
368 | | - # 'toolbar2': ''' |
| 368 | + # """, |
| 369 | + # "toolbar2": """ |
369 | 370 | # visualblocks visualchars | |
370 | 371 | # charmap hr pagebreak nonbreaking anchor | code | |
371 | | - # ''', |
| 372 | + # """, |
372 | 373 | } |
373 | 374 |
|
374 | 375 | # Languages using BiDi (right-to-left) layout |
|
0 commit comments