Feature #122

Stop tag or do not edit my block

Added by Troex Nevelin over 1 year ago. Updated about 1 year ago.

Status:Closed Start date:21.05.2010
Priority:High Due date:
Assignee:Dmitry Levashov % Done:

100%

Category:-
Target version:1.2
Browser:

Description

Problem: I need to enter special tags or some block with javascript or other code and I don't want elRTE to edit it any way when I post or switch between preview and source.

Possible solutions:
Enter special id or class for tag:

1 <div class="elrte-stop">...some fancy code...</div>
2 <span id="elrte-stop">...some fancy code again...</span>

replace-usage.js - comments in russian (3.2 kB) Troex Nevelin, 25.08.2010 17:14


Related issues

related to elRTE - Feature #157: Обработка псевдо-тегов Invalid 29.06.2010
duplicated by elRTE - Feature #193: Форматирование - отсутствие форматирования Invalid 29.08.2010

Associated revisions

Revision 61585eab
Added by Troex Nevelin about 1 year ago

closes #314, user replace examples added closes #122

History

Updated by Dmitry Levashov over 1 year ago

Maybe replace this blocks with placeholders, like with flash now?

Updated by Troex Nevelin over 1 year ago

  • Target version set to 1.0

Updated by Troex Nevelin over 1 year ago

  • File replace-usage.js added
  • Target version changed from 1.0 to 1.2
  • % Done changed from 0 to 50

Can be partly done by using user defined replace/restore function.

Updated by Troex Nevelin about 1 year ago

может такой вариант:

<!-- BEGIN DO_NOT_EDIT -->
как в eldorado?
<!-- END DO_NOT_EDIT -->

Updated by Troex Nevelin about 1 year ago

  • Status changed from New to Closed
  • % Done changed from 50 to 100

Also available in: Atom PDF