Alpha Video Training
Results 1 to 5 of 5

Thread: can you configure the A5 html editor formatting options?

  1. #1
    Member brad.lindsay69@gmail.com's Avatar
    Real Name
    Brad Lindsay
    Join Date
    Jul 2011
    Location
    Auckland, NZ
    Posts
    73

    Default can you configure the A5 html editor formatting options?

    Hi there, I have a mob app I'm building and need some help/guidance/ideas with the html editor please
    • I have a panel with a textarea control in the mobile app that I want to read data from a comments field and edit the text but I'm having the following issues...
    • The original comments data was entered in the browser app in an html editor, when I view it in the textarea control you see all of the html markup (which I don't want)
    • If I change the editor type to html I get all of the formatting option buttons (font, size, colour etc...) these take up way to much room for a smartphone and all I want to do is edit text and use the list buttons (ordered and unordered) Also with the a5 editor if I use the pop up panel the OK and Cancel btn disappear off the bottom of the screen so you can't click them and if you tap the screen to edit the text the keyboard slides up over the text so you can't see what you're typing, both of these issues make the component unusable for a user

    Appreciate any ideas on how to read html data and edit it in a mobile device without these issues?
    cheers
    Brad

  2. #2
    Member
    Real Name
    Michael Cornford
    Join Date
    Oct 2011
    Location
    East Sussex, UK
    Posts
    884

    Default Re: can you configure the A5 html editor formatting options?

    You may want to look at this page.

    https://docs.angularjs.org/api/ng/directive/ngBindHtml

    Michael

  3. #3
    Member brad.lindsay69@gmail.com's Avatar
    Real Name
    Brad Lindsay
    Join Date
    Jul 2011
    Location
    Auckland, NZ
    Posts
    73

    Default Re: can you configure the A5 html editor formatting options?

    wow - way above my pay grade I have no idea how to apply all of that code and those files to my app to get the outcome I need but thanks anyway
    cheers
    Brad

  4. #4
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: can you configure the A5 html editor formatting options?

    See if this helps. You will have to get the id of the button panel header in firbug or something then you have to set the display property to 'none'.
    http://www.alphasoftware.com/alphafo...ht=html+editor
    Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

  5. #5
    Member brad.lindsay69@gmail.com's Avatar
    Real Name
    Brad Lindsay
    Join Date
    Jul 2011
    Location
    Auckland, NZ
    Posts
    73

    Default Re: can you configure the A5 html editor formatting options?

    Frank thanks for this...using your advice I was able to hide the html btn panel header using this line of code $('PAT_MOB_APP_CHILD_PAT_MOBILE_FASD.V.R1.COMMENTEDIT.TOOLBAR').style.display='none';
    in the onRender event as you suggested...

    I was unable to hide individual btns within the panel header, there were ids but they were table ids not div ids I spent about an hour but couldn't figure it out.

    Thanks again Frank

Similar Threads

  1. HTML Editor: automatically save record after editor is closed
    By Simone in forum Application Server Version 11 - Web/Browser Applications
    Replies: 2
    Last Post: 04-24-2014, 12:25 PM
  2. How to dsp data in a grid that has Html formatting using the formatting in the dsp
    By rrwebster3 in forum Application Server Version 11 - Web/Browser Applications
    Replies: 2
    Last Post: 10-16-2012, 10:13 AM
  3. Using HTML editor for simple HTML
    By Mr GreenJeans in forum Alpha Five Version 9 - Desktop Applications
    Replies: 11
    Last Post: 06-25-2010, 06:55 PM
  4. Using HTML editor for simple HTML
    By Mr GreenJeans in forum Application Server Version 9 - Web/Browser Applications
    Replies: 0
    Last Post: 06-23-2010, 03:26 PM
  5. Disabling the contents of TEXT AREA CONTROL which is having HTML options
    By robert brown in forum Application Server Version 9 - Web/Browser Applications
    Replies: 2
    Last Post: 10-20-2008, 07:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •