Personnaliser ckeditor avec un dossier custom

Rédigé par Webmaster 11 commentaires
Classé dans : PluXml Mots clés : aucun

Afin d'éviter de ne pas oublier de sauvegarder les fichiers  modifiés dans ckeditor pour le personnaliser, il m'est apparu plus efficace de créer un dossier custom dans lesquels je mets mes fichiers  de configuration.

Pour l'exemple je m'appuirai sur le plugin ckeditor pour PluXml.

Première étape : Création d'un dossier custom dans le dossier ckeditor du plugin et on y met ses fichiers de configuration (pour commencer on peut faire la copie des fichiers utilisés par défaut situés dans ckeditor/ckeditor):
ckeditor
    ckeditor
        ckeditor.js
        config.js
        contents.css
        styles.js
    custom
        myconfig.js
        mycontents.css
        mystyles.js
    ckeditor.php   
Seconde étape, la seule qu'il faudra refaire à chaque mise à jour du plugin pluxml ckeditor :
dans le fichierckéditor.php, rajouter customConfig:

CKEDITOR.replace('id_'+n, {
    customConfig: '../custom/myconfig.js',
	extraPlugins: 'justify..........

Ensuite modifier myconfig.js en rajoutant :

// Applique les styles dans l'éditeur
config.stylesSet = 'my_styles:/plugins/ckeditor/custom/mystyles.js';
// Applique le Css du site
config.contentsCss = '/plugins/ckeditor/custom/mycontents.css' ;
// ou sous cette forme
//config.contentsCss = 'http://nomdusite.fr/plugins/ckeditor/custom/mycontents.css'

Et enfin modifier le fichier mystyles.js pour remplacer le nom defaut par my_styles

CKEDITOR.stylesSet.add( 'my_styles', [

11 commentaires

#1  - tests adrenal fatigue a dit :

Hey I know this is off topic but I was wondering if you knew of any widgets I could
add to my blog that automatically tweet my newest twitter updates.

I've been looking for a plug-in like this for quite some time and was hoping maybe you would
have some experience with something like this.
Please let me know if you run into anything. I truly enjoy reading your blog
and I look forward to your new updates.

Répondre
#2  - glyphosate and human health a dit :

fantastic post, very informative. I wonder why the
other specialists of this sector do not understand this.
You should proceed your writing. I am sure, you've a
huge readers' base already!

Répondre
#3  - Click Here a dit :

Everything is very open with a clear description of the challenges.
It was definitely informative. Your website is useful. Many thanks
for sharing!

Répondre
#4  - online casinos a dit :

Just want to say your article is as astonishing. The clarity in your poist is simpoy spectacular and i could
assdume yyou are an expert on this subject. Fine with your permission allow me to grab your feed
to keep up to date with forthcoming post. Thanks
a million and please continue the rewarding work.

Répondre
#5  - Situs Bandarq Online a dit :

I loved ɑs mᥙch as уⲟu will receive carried ⲟut rіght һere.
The sketch is attractive, yoսr authored material stylish.
nonetһeless, you command get ɡot an impatience ᧐vеr that
ʏou wish be delivering the following. unwell unquestionably ϲome furthеr formeгly again ѕince exactly the same neаrly a lot often inside case you shield tһіs increase.

Répondre
#6  - Cheap Jerseys free shipping a dit :

cheap jerseys Cheap Jerseys free shipping xksedm62256

Répondre
#7  - Cheap Jerseys free shipping a dit :

In coaching high school soccer it a proven fact that self control is a choice and players have to
choose it just like they do for confidence. Self control strategies
in soccer coaching depend upon the relationship between emotions and thoughts.

In 1978, Ryan was preparing for another wholesale jerseys from china of his famous fact finding trips.
He had received word of a suspicious death, occurring after the
deceased person had severed ties with a religious sect based in Guyana.

So Ryan grabbed a TV crew, jumped in a plane, and set off to find out what the deal was with
this Jim Jones guy..

wholesale nfl jerseys After a down year in 2013, the Florida
city is tanned, rested, and suitably blinged out to recapture the Most Attractive title.
Since Miami was also voted the No. 3 city for style and No.
The holy trinity of Glen Rovers, St Finbarr's and Blackrock have won over 80 titles between them.

The rivalries and the crowds they drew acquired a national reputation. But
the winning stopped..wholesale nfl jerseys

Lin starred at Harvard, finishing his four year career
with an astonishing 1,483 points, 487 rebounds,
406 assists, and 225 steals. But excelling at Harvard does not gain the attention of NBA scouts.
Lin went undrafted in 2010, instead signing with the
Golden State Warriors as a free agent.

Cheap Jerseys from china If you're trying to rationalize this particular
waste of money, let's be clear on what you're not buying.
It doesn't contain any expensive essential oils, it's not used for "aromatherapy,"
and it's not some long lasting, slow burning piece of survival gear that will
provide illumination in the event of a zombie apocalypse.

It's just a candle.Cheap Jerseys from china

wholesale jerseys FILE This is one of two official portrait photographs taken on Nov.
25, 2010 in the Council Chamber in the State Apartment in St James's Palace,
London and released by Clarence House Press Office on Sunday Dec.

12, 2010 to mark the engagement of Britain's Prince William, left,
and Catherine Middleton, right.wholesale jerseys

wholesale jerseys from china They may be sufficiently small enough
to be utilized to be a handbag with a social gathering, yet not big enough
to supply 1 day any bag per day. They intended for a modern individual by having an city life style,
and it also nearly impossible to find something lacking
from your collection. You find little awards for just one nights,
bags ideal for daily at the sea, along with rucksacks for that evening..wholesale jerseys from china

cheap jerseys Constitution) requires that he be given access to counsel on the federal charges, and that
he be presented without delay. York Police Commissioner James O told a news
conference that investigators had not yet received doctors clearance to interview Rahami, adding, may happen in the next 24 hours,
pending the doctors approval. Prosecutors in New York noted that while they filed charges against Rahami on Tuesday, he remains in the custody of state officials in New Jersey, who initially arrested him after Monday gunfight.cheap jerseys

Cheap Jerseys free shipping Take the NCAA Men's Division I tournament for example.
Sure, it seems very hard to schedule games around typical class times and still finish out tournaments quickly and efficiently but missing up to a
quarter of classes for "March Madness" doesn't seem like a great trade off.
Take an example from a "what if" situation.Cheap Jerseys free shipping

wholesale nfl jerseys from china Opthamologists provide eye care needed in multiple circumstances, including routine eye care and emergency care.
A scratched cornea is a serious issue and needs immediate treatment by a qualified opthamologist.
A damaged or scratched cornea can result from foreign objects.wholesale nfl jerseys from china

wholesale jerseys And the two best known riders here are Hamilton and
his friend and former teammate Lance Armstrong.
Because of Armstrong, the 2004 tour is the most eagerly anticipated chapter in the
event's history. He'll try to do what no rider has ever done: win six in a row.wholesale jerseys

wholesale nfl jerseys from china The trip takes 17 days and will take the Spurs on 8,187 total miles in the
air.After Duncan's layup got the Spurs within 73 71 with 2:06 remaining, neither team was able
to convert on its next possession with Manu Ginobili missing a
wide open 3 pointer from the top of the key.San Antonio had another chance to tie it, but Ginobili took an off balance jumper from 20
feet which was contested by Andre Iguodala.Holiday knocked down a pair of free
throws with 19.9 seconds left to give the Sixers a 75
71 advantage. Holiday earlier hit a long 3 pointer to give the Sixers a 71 67 lead with 4:43 left.But Duncan responded on San Antonio's
next possession with a runner in the lane to close the gap to 71
69.The Spurs shot just 33 percent from the field (27 for 81), including 3 for 17 from 3 point range.NOTES: The Spurs closed the first half
with a 12 6 spurt to tie the game at 46. Spurs coach Gregg Popovich
has the most tenure among NBA coaches with the resignation of Utah's Jerry Sloan on Thursday.
Popovich, in his 15th season, has 780 career wins.
Spurs F Tiago Splitter was inactive with a strained left hamstring wholesale nfl jerseys from china.



.

Répondre
#8  - wholesalejerseyscheap2u a dit :

Was a smart guy, a really bright guy. Flames blueliner Jay Bouwmeester, who
played with Montador in Florida told the Miami Herald: consider Monty one of my closest friends I
don think anyone who ever played with him had a bad word to say.

Then came the brutal hit from Cowboys linebacker Derek Akunne,
who buried his helmet in Goff's ribs from the right side, driving him into the ground.
Even though Goff came back in for another series threading an impressive pass to Pharoh Cooper that the rookie dropped he logged only two possessions and finished the
night with a sore non throwing shoulder from the
Akunne hit. From the stands, Goff's parents could see their son wasn't quite right after that collision..


wholesale nfl jerseys "You're going to think about it. It happened. For me it wasn't just the way it ended, it was [his drop in performance] since February. One day it out of the blue he called. My house in hopes and a well madame. Did not currently on the they. Sometimes though, you are on your way to or from a location shoot and you have all of your gear and equipment with you and you need to make a stop somewhere. What do you do, take your stuff with you or leave it all in the carSo if you have to leave something behind, make sure it is well hidden and locked if possible. The best place to securely store something would be the trunk of a sedan or covered in the trunk of a hatchback or SUV.wholesale nfl jerseys

wholesale jerseys from china Unmatched customer service is for all customers. Whether you're a team of 1 or 1,000 you will receive the customer service you demand. At Champion System, everybody is a Pro in our eyes.. Crikey. This could be a fun 10 minutes.70 mins: DROP GOAL Scotland 18 21 Ireland68 mins: O'Gara's day is done, Jonny Sexton takes the fly half jersey.67 mins: More subs: Nathan Hines and Geoff Cross on for John Barclay and Moray Low for Scotland while O'Callaghan makes way for Leo Cullen. And O'Gara boots the re start straight out.wholesale jerseys from china

wholesale jerseys from china And while she's no longer with us, I know my grandmother is watching, along with the family that made me who I am. I miss them tonight, and know that my debt to them is beyond measure. To my sister Maya, my sister Auma, all my other brothers and sisters thank you so much for all the support you have given me.wholesale jerseys from china

wholesale nfl jerseys from china The villainous patriarch of the Scott family, Dan Scott had a knack for making people hate him. Seriously, Paul Johansson was scary good at playing a despicable human being every week on the show. Dan was the biological dad of Nathan and Lucas and had no problem pushing both of his sons to the limit in order to realize his own failed dream of a professional basketball career.wholesale nfl jerseys from china

cheap nfl jerseys While with the Bulls, Mr. Thurmond posted the first quadruple double in league history when he had 22 points, 14 rebounds, 13 assists and 12 blocks in an Oct. 18, 1974, game against Atlanta. Replacements: R Hibbard (Ospreys), J Yapp (Blues), R Jones (Ospreys), J Thomas (Ospreys), D Peel (Sale), R Priestland (Scarlets), L Byrne (Ospreys). TakeoWT on Twitter: "Hold on, this is Wales playing in Cardiff why are the English so
confident The Welsh aren't going to have their bellies tickled."1907: Atmosphere is word I have heard a lot this week and I reckon there might be a bit more of that tonight. On that point, Jonathan Davies says: "It will
be a great occasion.cheap nfl jerseys

wholesale nfl jerseys from china Another key thing here is that freshman cornerback Damar Hamlin could be on the field sooner
rather than later. He been a full participant in practice
per several media members on Twitter and seems like he could be ready to go soon.
Pitt cornerbacks have struggled so far but the question is when Hamlin could be ready to play after having missed so much
time..wholesale nfl jerseys from china

wholesale jerseys In what seemed like a very unbalanced match, the final match was top seeded Liverpool facing last place Manchester United.
United came into the match not having won since September 12th, Week 1 of the season. Match
was goalless for the first 6 minutes until Sal Maffei made a
costly mistake on the defensive side, wholesale jerseys from china turning the ball over where Tony Fortier
Bensen made him pay.wholesale jerseys

Cheap Jerseys china Billy Ray you always think about what could have been, said Kauffman.
Was a gentle soul. He was just a very susceptible, very impressionable kid.
"That guy is so special," Irving said. "He gives himself an F' and he still ends up with 23, 8 and 11. He took full accountability just like anyone else in this locker room would, but as the leader of this team, we demand a lot from him.Cheap Jerseys china

cheap nfl jerseys Repeat until no more stain is removed. If any remains, soak in a solution of 1 quart warm water, 1/2 teaspoon liquid detergent, and 1 tablespoon white vinegar for 15 minutes. Rinse with water.. "Standing up works better than sitting
down, unless you have a really big bathtub," says Weston. Your partner should brace herself with her hands on the shower walls. You'll enter from behind cheap nfl jerseys.

.

Répondre
#9  - Cheap Jerseys from china a dit :

Some New Yorkers say holding the 26.2 mile race would be insensitive and divert police and other important resources when many are still suffering from Superstorm Sandy.

The art was pretty stunning. Picasso, Matisse and Duchamp got the world used to accepting
hilarious pretension and babyish douchebaggery on a massive scale, just so long as the art
was sufficiently mind bending. And we couldn't even call these people mercurial
fuckups with severe depressive disorders, because nobody knew what
that was: Medicine was still in the stage where doctors prescribed a teener of coke for a
toothache.

wholesale nfl jerseys The tour has run every year since 1903 apart from 1915 1919
and 1940 46. It has embraced individual competitors and national teams in its history but
sponsored teams have competed exclusively since
1969. In 1944 L'Auto was closed and its assets sequestered
by the state.wholesale nfl jerseys

cheap nfl jerseys Now Nishat is a mad, keen cricket fan who understand bats, balls and bases.

But he thought the game often seem mere distraction from all the hotdog eating, beer drinking, T shirt shooting, and on field
promotions. Presidents, including one that
look like Larry King.cheap nfl jerseys

cheap jerseys He doesn't want to be here when the media's here.
He's not doing interviews left and right, but he's picked the right people to hire and he
wants to win. He doesn't have a hand in every decision, cutting this guy,
bringing in this guy. High clearance four wheel drive is recommended because of sandy and potentially
rocky conditions. Don't drive when rain is forecast.
Route finding is easy..cheap jerseys

cheap jerseys Gotten a lot of support already, but there work that needs to be
done.Johnny Manziel, he said. Football is what I am in the media and what is out there.
I accept it and I very accepting of it. At the start of the second half, Di Canio decided to mix things
up a bit, bringing on for, who d wasted a free
kick just before Sessegnon scored. With 30 minutes left to go, Borini made way for.

The American quickly made himself useful, getting on the end
of a cross but seeing his shot go just wide.cheap jerseys

wholesale jerseys from china Roche explains them, include
the necessity of a planned society, a collective view of man;,and the relativity of values.
What started with a few ''men of letters'' has seeped through American society and dominated the thought and behavior
of American academics and intellectuals, educators, the media, the arts, government bureaucrats, corporate
boards, and both political parties, he says.''In parallel
with this increasing collectivism of American life has come
the most socially and economically disruptive period
in history,'' Roche declares.The election of Ronald Reagan is a sign that the American people have finally had enough of the collective mystique,
he says.Shavano's current seminar began with an upbeat economic analysis by Robert Bleiberg, editorial director of
Barron's financial magazine. It then moved into a ''battle wholesale nfl jerseys of ideas'' featuring New York liberal turned conservative Midge Dector, executive director of the Committee for the Free World, and American Enterprise Institute scholar Michael Novak whose book, ''The Spirit of Democratic Capitalism,'' explores the ethical bases of
free enterprise.wholesale jerseys from china

This varies for each class and spec, but you
will learn then, which abilities you can use. Also, if you're DPS,
don't try to tank. It's very easy, especially in earlier levels, to pull aggro away from
your tank. Registration ends on June 6. Lunch provided. Cost is $265.


cheap jerseys Anderson caught the ball and scored on a runner from six feet to give
the Sixers a 103 102 lead with 24.3 seconds left in the game.The Knicks had
an opportunity to take the lead after Covington's turnover with 15.7 seconds left.
However, Anthony missed a jumper with 6.9 seconds to
play. Then Thomas missed the put back.Thanks for your continued support.We recently
asked you to support our journalism.cheap jerseys

wholesale nfl jerseys from china Was based on the
Bureau of Labor Statistics' (BLS) overview of current
job occupations with the largest numerical
growth. (See screenshot image of BLS list click for a larger view).

Unfortunately however, the turnover rates for some of these jobs
are also high; workers often leave to look for less strenuous jobs or where there are better salary offers.wholesale nfl jerseys from china

Cheap Jerseys free shipping With crowds flocking both,
the Disneyland in California and the Walt Disney World in Florida, visiting
these places on New Year's Eve can be quite cumbersome, not to mention a crowded affair.
But that doesn't mean that you can't have any other options.
Here are a few fun activities to do on New Year's Eve with kids that'll make them go to bed with
a smile on their faces..Cheap Jerseys free shipping

wholesale jerseys from china Take the washers one by one,
and without touching them pinch them inside a folded piece
of paper (>1000 grit sandpaper if you have it) and rub them between your thumb and index finger.

This should clean any dirt off and leave them bright and
shiny. If paper won't do it and you don't have extremely fine sandpaper, try softening
up the dirt with rubbing alcohol on a Q tip wholesale jerseys
from china.

.

Répondre
#10  - Cheap Jerseys free shipping a dit :

Cheap Jerseys free shipping Cheap Jerseys free shipping rtmwfj14073

Répondre
#11  - wholesale jerseys from china a dit :

Cheap Jerseys from china wholesale jerseys from china
konyoq19073

Répondre

Écrire un commentaire

Quelle est la deuxième lettre du mot uial ?

Fil RSS des commentaires de cet article