Jump to content
Alexander Sviridenkov

Report Builder + HTML Library + Office Library.

Recommended Posts

Hi Alexander, Good job!

 

May I take this chance to ask, can you control which elements can/cannot be modified in HCL editor?

For examples:

  1. Allows some <p> texts to be editable while some cannot be edited.
  2. Disable deleting of <p> tags while allowing editing the texts.
  3. And so on...

Share this post


Link to post

There is CSS contenteditable property which can be set to true or false using snandard CSS rules.

Deleting of certain tags cannot be prohibited, but editor supports XML schema which can define rules for adding new tags (what tags are allowed and what tag can be added to another tag).

Share this post


Link to post
1 hour ago, Alexander Sviridenkov said:

There is CSS contenteditable property which can be set to true or false using snandard CSS rules.

Great!

 

Quote

Deleting of certain tags cannot be prohibited, but editor supports XML schema which can define rules for adding new tags (what tags are allowed and what tag can be added to another tag).

Pity. Can't the editor provide events like `OnBeforeDeleteElement`, `OnBeforeEditElement`, and so on?

Share this post


Link to post

Hi Alexander,

 

Another question, do you have a plan to provide JavaScript support in the future for HCL in the future? 

I'm not asking for any concrete time-frame but just if a plan is there ;)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×