Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theodorosploumis/live-editor
PHP Live Editor with jQuery
https://github.com/theodorosploumis/live-editor
contenteditable html5 live-editor php wysiwyg
Last synced: 18 days ago
JSON representation
PHP Live Editor with jQuery
- Host: GitHub
- URL: https://github.com/theodorosploumis/live-editor
- Owner: theodorosploumis
- License: mit
- Created: 2018-03-22T00:09:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-11T19:02:34.000Z (over 6 years ago)
- Last Synced: 2024-04-22T17:12:54.270Z (9 months ago)
- Topics: contenteditable, html5, live-editor, php, wysiwyg
- Language: PHP
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP Live Editor with jQuery
This is a proof of concept of an inline css editor that saves the style changes to local disk.
## Installation
Download and run index.php with php.
Eg using php local dev server:
```bash
php -S localhost:7777 -t .
```Click an element and apply CSS styles like using a WYSIWYG editor.
## Options
1. Save changes to live-styles.css files.
2. Download current CSS styles.## ToDo
1. Save text edits from contenteditable elements on a local server file or in localstorage.
2. When selecting an element apply it's css styles to Editor form.
3. Make CSS styles from local file as inline styles to HTML.
4. Undo/Redo options.
5. Make this work with js created elements.
6. Create a php function to generate the Editor.
7. Rewrite the helper class Cssparser.php taken from https://github.com/intekhabrizvi/cssparser.## License
[MIT](LICENSE) Theodoros Ploumis.