2012/01/04

Version 2.4.0 release

  • [Requirement] Load extra CSS file by project
  • [Requirement] Add java script API: setMappingAttribute(attributeName)
  • [Requirement] DOM find/replace dialog: add axis "descendant-or-self::" for search simple element
  • [Bug] Hidden element outline is not move after scrolling.
  • [Bug] Taglib API: insertBefore(node, refNode) should not replace node
  • [Bug] Visual view: Pin editer does not work in some case
If a custom tag will generate several HTML elements, the setMappingAttribute(attributeName) API could let each element mapping to different attribute. So 
For example: <t:inputText label="Name" value="Bravo Editor"/>
will generate:
<div><span>Name</span><input type="text" value="Bravo Editor" /></div>

When you click text inside <span>, the cursor of source editor will move to attribute 'label'.
When you click <input>, the cursor of source editor will move to attribute 'value'.

Render script example:
var container = factory.createElement("div");
var label = factory.createElement("span"); 
label.setMappingSource(srcElement); 
label.setMappingAttribute('label');
label.appendChild(factory.createText(srcElement.getAttribute('label'))); 
var input = factory.createElement("input"); 
input.setMappingSource(srcElement); 
input.setMappingAttribute('value');
input.setAttribute('value',srcElement.getAttribute('value')); 
container.appendChild(label); 
container.appendChild(input); 
container

2012/01/01

Special offer for free professional edition license


I have a TD Ameritrade account for trading stock/ETF/option/future. They have a campaign for refer a friend. If you are going to open a new account, I could invite you and earn some money.
You can get free professional edition license and other special offer from TD Ameritrade, for example: 100+ commission-free ETFs, Cash bonus when you open a new account and deposit/transfer more than 25,000...

Here are the steps:
    1. Launch license request or send me an e-mail inclide the e-mail address and name.
    2. You will receive an trial license file and another e-mail notification with a promotional code, like below one. Open a new TD Ameritrade account using promotional code.
    3. Deposit USD$3,000 (or transfer assets from another brokerage) within the first 60 days of opening the new account.
    Within three days, I will get notification from TD and send you professional edition license file.

    Update: change brokerage from Firstrade to TD Ameritrade after 2015/7/1