Excellent Hiep, thanks for your contribution.
Notes from my test:
1 - Context menu is lost (Value Preference / Change Log)
2 - Would be nice to have a way to view/edit the source?
3 - The toolbar could have more stuff, or make it configurable?
for example in an editor I like to have:
- undo
- redo
- find
- replace
- select all
- blockquote
- justify ...
- insert link
- insert image
- insert special char
- insert table
- maximize
4 - The field is not respecting the definition of the number of lines in AD_Field, it just grows in size according to its content.
I think it would be better to keep the size fixed as defined in field and have a scrollbar.
5 - When showing in grid is too big also - I think in grid it must show just one line, like the actual big text fields
6 - On Find window is showing also the field as an HTML editor - is that OK? I think because of that you cannot search things with LIKE starting with %
7 - There is no control or warning when the editor content is bigger than the allowed size of the column, it just trim it when saving without a notification to the user
8 - After stabilization this would be very nice to have in core. We can add also the IsHtml to AD_Field and AD_UserDef_Field
Regards,
Carlos Ruiz
El 05/04/17 a las 05:49, 'Hiep Lq' via iDempiere escribió:
some update make it more attractive and flexible
On Sunday, April 2, 2017 at 12:50:07 PM UTC+7, Hiep Lq wrote:Hi Community.I just complete a editor for input html text base on ckEditor
I also document about it here http://wiki.idempiere.org/en/Plugin:_CKEditor
by limit from core, it's not seamless install to system without touch database server and run migrate scriptif you want to know about limit, please read chat here http://www.globalqss.com/idempiere/irclog/%23idempiere.2017-03-29.log.html
so i deploy a test server here: https://test.hasuvimex.vn/webui/index.zuland just configuration for field Description of window sale order
welcome you experience to report issue, and contribute idea to improve.
--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/325caaba-36fc-26ba-de4c-6b18f0c37589%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Thanks Hiep,
>> 6 - On Find window is showing also the field as an HTML editor - is that OK? I think because of
>> that you cannot search things with LIKE starting with %
> value store on database like string, so can be search with LIKE.> but some time it make user confuse, because when they seach for div, almost record will return
I mean, if you fill the editor in HTML mode with %carlos, expecting to find any record with carlos in that field.
But what I suspect is correct, it will return something like "<p>%carlos</p>" and maybe will return a different thing than user is expecting.
>i think better don't allow search with field use long text and html
If the database supports search on long text I think is OK to allow it, I would think in find window the HTML editor must be simply a textbox.
>> 3 - The toolbar could have more stuff, or make it configurable?
> it on my mind, do it after IDEMPIERE-3323 i don't want to create new column for each option of each editor.
I was thinking something simpler, maybe can be done actually as a fragment of your plugin.
For example, in iDempiere you can customize the toolbar of the string editor in HTML mode adding a fragment changing the file: org.adempiere.ui.zk/js/ckeditor/config.js
I have a related question regarding the built in editor. Is there a way to set it to be default on the field?
I need it in particular on my product description. Currently I edit the descriptons using right click and open the html editor, but when I close it all I see is html code on the field box intead of the parsed content.
Please advise.
Thanks,
Ricardo Malla
Hello All,
I have a related question regarding the built in editor. Is there a way to set it to be default on the field?
I need it in particular on my product description. Currently I edit the descriptons using right click and open the html editor, but when I close it all I see is html code on the field box intead of the parsed content.
Please advise.
Thanks,
Ricardo Malla
--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/fb08305e-ec64-4ed0-9442-2f0c87b53304%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Jun 13, 2017 at 7:11 PM, Ricardo Malla <ricard...@venexchange.com> wrote:Hello All,
I have a related question regarding the built in editor. Is there a way to set it to be default on the field?
I need it in particular on my product description. Currently I edit the descriptons using right click and open the html editor, but when I close it all I see is html code on the field box intead of the parsed content.that why my plugin is born
Please advise.
Thanks,
Ricardo Malla
--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/fb08305e-ec64-4ed0-9442-2f0c87b53304%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.