8000 GitHub - apinstein/ckeditor-autocss: Automatically inject all css from host page into the editor for better WYWIWYG.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

apinstein/ckeditor-autocss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

The "autocss" plugin makes ckeditor a truly WYSIWYG even in complex css environments.

It does this by doing two things:

  1. Copies all css from the host page into the editor via editor.config.contentsCSS.
  2. Samples the background-color in effect at the parent of the host <textarea> control and applies that color to the editor so that you get appropriate background color for even better WYSIWYG.

This plugin has jQuery included inline; if your site already uses jQuery, you could save room by removing it. Or someone could optimize out the parts that we need (just a selector for all included css and a cross-browser getComputedStyle).

About

Automatically inject all css from host page into the editor for better WYWIWYG.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0