Yii Framework Forum: Custom advance editor - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Custom advance editor Rate Topic: -----

#1 User is offline   desatir7316 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 569
  • Joined: 19-March 14
  • Location:iran, tehran

Posted 06 September 2016 - 01:57 PM

I want to create an advance custom editor with my own tags. for example if i enter below text:

Quote

all boys like girls


and if I select 'boys' and click a special button to convert it to a blank text box it will be something like this:

Quote

all <input type="text"/> like girls


and I want to the result of that input in middle of my text.


then if someone fill that text box like this:

Quote

all <input type="text" value="boys"/> like girls


the whole value that will be send to server, for example via post, will be this:

Quote

all /!boys!/ like girls.


So actually i don't know what should I do exactly to create it.
Sorry for my English.
Thanks in advance.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users