If any of you uses RICH text editor for user inputs, you will notice that the actual data in the table contains HTML tags that describes the format used with the input.
Ex.
Will have the following data in your table:
If you want a "clean" version of this text you can create a trigger/task that will remove the HTML tags. You can copy the Trigger below:
The "formatted_txt" will be the field that uses the Rich text editor and the non_formatted_txt_trigger will contain the "clean" text version.
Rich text editor will convert < and > to their entity name which are < and > and a "Non-breaking space" will be converted to: . The following blocks will replace this entity name to their actual value.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Wikiwi
If any of you uses RICH text editor for user inputs, you will notice that the actual data in the table contains HTML tags that describes the format used with the input.
Ex.
Will have the following data in your table:
If you want a "clean" version of this text you can create a trigger/task that will remove the HTML tags. You can copy the Trigger below:
The "formatted_txt" will be the field that uses the Rich text editor and the non_formatted_txt_trigger will contain the "clean" text version.
Rich text editor will convert < and > to their entity name which are < and > and a "Non-breaking space" will be converted to: . The following blocks will replace this entity name to their actual value.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.