janmarek / texyla Goto Github PK
View Code? Open in Web Editor NEWAjaxový editor pro Texy
Ajaxový editor pro Texy
Pri uploadu nekderych souboru (bohuzel se mi mezi nima nepodarilo najit zavislost) se nepodari odeslat form se souborem, dialog zmizi a zustane pouze tocici se spinner.
Docela by se mi hodilo tlačítko fullscreen (jako ma např TinyMCE http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullscreen)
After hours of finding where the problem is I found possible solution. The problem is in this condition in js/texyla.js
if (f.onsubmit()) {
submitnout();
}
What doesn't work (if validation Nette JavaScript succeeds f.onsubmit()
doesn't return true
, only undefined
if you force the get value) so it only returns false
if validation fails. The correct solution should be:
if (f.onsubmit() !== false) {
submitnout();
}
More in this topic on Nette forums: http://forum.nette.org/cs/20728-texyla-submit-nic-nerobi#p142301
Od verze jQuery 1.9 byla odstraněna vlastnost jQuery.browser (http://jquery.com/upgrade-guide/1.9/#jquery-browser-removed).
^^
event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.
ověřit a opravit
v texyla.js riadok 121
nastava v pripade ze v headeri neni posledny script linkovaci, tj u mna ked je to priamo zapisany kod (WebLoader + head.js linkovanie)
nepomoze ani ked baseDir nastavim v options kedze riadok 121 sa vykonava este pred zavolanim samotnej texyly
riesenie ma aktualne nenapada
Integrovat nějaký plugin, aby se textarea natahovala podle délky napsaného textu.
cannot call method replace on null nestačí
Spojit všechny ikonky do jednoho souboru.
I followed "Základy implementace" yet, I get this error.
Uncaught TypeError: Cannot call method 'replace' of null
Texyla.expandtexyla.js:56
Texylatexyla.js:40
(anonymous function)texyla.js:5
e.extend.eachjquery.min.js:2
e.fn.e.eachjquery.min.js:2
jQuery.fn.extend.texylatexyla.js:4
(anonymous function)jquery.setup.js:3
f.Callbacks.njquery.min.js:2
f.Callbacks.o.fireWithjquery.min.js:2
e.extend.readyjquery.min.js:2
c.addEventListener.Bjquery.min.js:2
v ajaxupload.js je trigger na ajaxComplete, pridal bych jeste na ajaxStop, datagrid pouziva ve svem js zrovna ajaxStop tak se mi spinner furt tocil
Ahoj bylo by mozne udelat verzi pro Nette 2.0.
Dekuji Ondra
V TexylaLoaderu je "špatně" nadefinovaná cesta k souborům, což způsobovalo neplatné adresy k obrázkům Texyly. Nevím proč, ale místo adresy na složku mého projektu (v mém případě localhost/cms/document_root...) se generovala adresa localhost/texyla52/document_root. netuším, kde je chyba a tak jsem sprostě nahradil jeden řádek v TexylaLoaderu a vše běhá jak má.
//$this->sourceUri = Environment::getVariable("baseUri") . "texyla";
$this->sourceUri = WWW_DIR . "/texyla";
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.