Opened 12 years ago

Last modified 10 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.

  1. Based on some regex, code that is to be hidden should be recognized.
  2. When switching to wysiwyg this code should be replaced by image <code>...</code> (just like with flash).
  3. 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 Jakub Ś

Status: newconfirmed

comment:2 Changed 12 years ago by Jakub Ś

#4339 was marked as duplicate.

comment:3 Changed 10 years ago by Matthew Lieder

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)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy