Jump to content

Search the Community

Showing results for tags 'rich text'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Caspio Bridge
    • Caspio Apps for Ukraine
    • General Questions
    • Caspio JavaScript Solutions
    • Tables, Views and Relationships
    • Import/Export and DataHub
    • DataPages
    • Deployment
    • Security, Authentications, Roles, SAML
    • Styles and Localizations
    • Parameters
    • API and Integration
    • Calculations and aggregations
    • User JavaScript and CSS Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location


Interests

Found 6 results

  1. 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 &lt; and &gt; and a "Non-breaking space" will be converted to: &nbsp;. The following blocks will replace this entity name to their actual value.
  2. I found another solution in removing HTML tags in the data saved in Rich text editor. This is more if an alternative to this solution. Specially for those who doesn't have access to Triggered action. First you would need another field in your table that will store the plain text version of the actual input. Put that field in your Submission form and add a HEADER and FOOTER in your DataPage. Go the the FOOTER of your DataPage and disable the HTML editor in the Advanced tab. Paste the code below in your footer: <script type="text/javascript"> //This will hide the field for the "plain" text var non_formatted_txt = document.querySelector("#InsertRecordFIELDNAME_2"); non_formatted_txt.style.display = "none"; document.addEventListener('BeforeFormSubmit', function(event) { //This will replace all the HTML tags with blank var input = document.querySelector("#InsertRecordFIELDNAME_1").value.replace(/<\/?[^>]+(>|$)/g, ""); non_formatted_txt.value = input; }); </script> NOTE: replace FIELDNAME_2 with the actual fieldname of your field for the "plain" text and replace FIELDNAME_1 with the actual field name of the rich text editor field. Sample input : Actual table value: Non formatted value:
  3. I am using rich text editor in one of my field in my submission form and I want to limit the characters user can enter says up to 5,000 characters? Is this possible?
  4. I want to have a rich text area for my text 64000 fields
  5. Is there any way to indent the first line only in a Rich Text Area Field? I have tried using CSS text-indent in the Styles, however, the entire field is one long <p> tag. The text-indent only works at the beginning of the <p> tag. The field will be used to write >1000 words. I am looking for a way that anytime a user hits enter, the field indents 25px. I am not sure if there is a keyboard combination to do so. I have tried many variations. Thanks Jeff
  6. Hi Gurus! A while back I switched from TinyMCE to Caspio's Rich Text editor , and recently noticed the native browser Spell Check doesn't work . (I tested in Chrome, Edge, and Firefox) The spell check works in "Source", but not in the "Rich Editing" mode. Anybody know how to get around this? Thanks
×
×
  • Create New...