Opened 12 years ago
Last modified 11 years ago
#9280 confirmed New Feature
Provide a plugin that will replace code entered in source with fake image in wysiwyg
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | Cc: |
Description
Based on #7822.
This is very similar to proctectedSource.
- Based on some regex, code that is to be hidden should be recognized.
- When switching to wysiwyg this code should be replaced by image
<code>...</code>
(just like with flash). - When switching to source this code from image should be changed back to readable code.
Please note that it is impossible to edit such code but it is still possible to remove it by removing the image.
Change History (3)
comment:1 Changed 12 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 12 years ago by
comment:3 Changed 11 years ago by
FYI, I've implemented something similar to this as a plugin: http://ckeditor.com/addon/showprotected
Also, this ticket might be a dup of #851 (they seem pretty similar)
#4339 was marked as duplicate.