Jump to content


Photo
- - - - -

insert php in ckeditor


4 replies to this topic

#1 Ivan Pramono Susanto

Ivan Pramono Susanto

    Advanced Member

  • Members
  • PipPipPip
  • 135 posts

Posted 02 December 2013 - 02:31 AM

finally it works :D

it stop adding anoyong &nbsp and php code still intact :D

 

edit config.js and add the following

 

/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	CKEDITOR.config.protectedSource.push(/<\?[\s\S]*?\?>/g);
	config.fillEmptyBlocks = false;
	config.autoParagraph = false;
	config.enterMode = CKEDITOR.ENTER_BR;
	config.shiftEnterMode = CKEDITOR.ENTER_P;
};


Edited by Ivan Pramono Susanto, 02 December 2013 - 02:41 AM.

  • 0

#2 MaxD

MaxD

    Administrator

  • Administrators
  • 703 posts

Posted 04 December 2013 - 09:52 PM

What's the sence of entering PHP code there? It's not executed anyway.


  • 0

#3 Ivan Pramono Susanto

Ivan Pramono Susanto

    Advanced Member

  • Members
  • PipPipPip
  • 135 posts

Posted 04 December 2013 - 11:59 PM

ow just in case i got html box which support php but everytime i save the code is a mess because of this editor XD

yup it's not executed anyway right now

>.<


Edited by Ivan Pramono Susanto, 05 December 2013 - 12:47 AM.

  • 0

#4 Lisawhip

Lisawhip

    Member

  • Members
  • PipPip
  • 27 posts

Posted 19 September 2018 - 01:48 AM

timberland pro work boots adidas store north face outlet pandora bracelet charms nike outlet online oakley sunglasses for men adidas yeezy boost nike clearance air max 97 silver bullet pandora longchamp nike sneakersferragamo belt ecco shoes for men michael kors handbags christian louboutin shoes yeezy boost moncler outletmoncler jackets birkenstock sandals fitflop pandora jewelry 70 off clearance pandora jewelry red bottom retro 13timberlands mcm backpack timberland outlet adidas nmd fitflops oakley sunglasses birkenstock outlet fitflops adidas running shoes coach outlet air max 270 nike factory nike outlet store nike air max 97 puma tory burch sale pandora charms pandora harden shoes pandora jewelry adidas sneakers uggs clearance moncler jackets adidas store nike outlet store online shopping michael kors outlet red bottoms retro 12 adidas adidas ultra boost canada goose clothing nike shoes outlet mbt shoes canadian goose jacket ugg slippers retro 12 michael kors handbags superstar shoes cheap oakley sunglasses adidas boost adidas nmd timberland boots pandora charms soccer cleats louboutin shoes jordan sneakers nike vapor max flyknit nike outlet online pandora rings official site jordan retro 11 michael kors handbags coach handbags air max 97 south beach adidas shoes adidas store nike uk ralph lauren polo nike outlet store online shopping pandora bracelet pandora charms yeezy adidas ray ban glasses retro 12 nike outlet store onlineray ban sunglasses pandora jewelry official site air max 95 neon pandora jewelry adidas sneakers nike uk birkenstock outlet stores pandora jewelry official site nike vapor max plus nike outlet store online shopping birkenstock sandalsbirkenstock shoes pandora charms yeezy shoes polo ralph lauren outlet north outlet online michael kors outlet onlinefitflops sale clearance tory burch sandals nike shoes for women christian louboutin outlet tory burch outlet ysl handbags adidas superstar shoes soccer cleats jordan 14 pandora christian louboutin adidas yeezy ray ban eyeglassesadidas yeezy boost bottega veneta handbags puma outlet mcm backpack philipp plein nike vapor max flyknittimberland shoes yeezy sneakers adidas yeezy boost oakley eyeglasses kate spade outlet online michael kors handbags valentino nike clearance coach outlet ultra boost air jordan 10 pandora charms jordan 4 curry 5 pandora jewelry official site pandora jewelry official site nike air max 95 pandora jewelry ugg shoes salvatore ferragamo nike air vapormax flyknit nike uk adidas outlet air max 270 balenciaga sneakers nike sneakers retro 11 canada goose outlettimberland timberland yeezy moncler jackets adidas outlet nike air max birkenstock outlet red bottom shoesbirkenstock shoes nike sneakers timberland boots coach outlet kate spade purses birkenstock sandals fit flops oakley eyeglasses yeezy boost nike outlet store timberland pro work boots birkenstock outlet bottega veneta outlet pandora charms sale clearance nike outlet pandora charms sale clearance ecco shoes for women pandora jewelry official siteretro 11 coach outlet store retro 13 yeezy birkenstock sandals pandora bracelet timberland boots curry 5 michael kors outlet online yeezy oakley sunglasses moncler jackets nike shoes philipp plein cleats cheap nike shoes balenciaga nike soccer cleats pandora charms north face jackets clearance red bottom shoes canada goose sale ecco shoes for women timberland outlet nike outlet store nike factory store adidas yeezy louboutin nike store adidas soccer pandora jewelry jordan 10 air vapor max nike factory nike clearance adidas yeezy boost air jordan 14 jordan shoes adidas yeezy north face coats kate spade sale air max 98 harden shoes puma shoes louboutin shoes ultra boost oakleyfitflops nike nike shoes pandora jewelry official site coach outlet ysl handbags ray-ban sunglasses sale adidas outlet online nike air max 270 nike outlet store nike shoes uggs boots women coach factory outlet pandora outlet jordans sneakers moncler jackets nike outlet online fit flops for women kate spade ecco shoes for men retro 11 coach rayban sunglasses michael kors handbags pandora jewellery timberland outlet birkenstock sandals retro 13 uggs official sitered bottom shoes christian louboutin ray ban eyeglasses adidas nmd r1 jordan retro 11 birkenstock sandals jordan 8timberland yeezy shoes adidas shoes for women uggs official site nmd r1 fitflops pandora jewelry timberland boots for men pandora mbt pandora pandora jewelry timberland boots oakley glasses birkenstocks red bottom coach outlet uggs official site fitflops sale kate spade handbags nike roshe air max 2018 nike factory uggs boots nike air max 2018 adidas yeezy pandora jewelry nike air max 270 adidas shoes nike outlet nike outlet store online adidas canada goose jackets pandora cyber monday deals pandora charms cyber monday north face jackets black friday michael kors black friday pandora jewelry black friday coach handbags black friday pandora jewelry black friday deals michael kors black friday deals canada goose clothing pandora jewelry black friday coach cyber monday coach black friday deals north face black friday coach black friday sale 2018 michael kors cyber monday canada goose jacket michael kors cyber monday ugg slippers coach cyber monday canada goose outlet north face cyber monday 2018.0919W


  • 0

#5 JackKlark

JackKlark

    Advanced Member

  • Members
  • PipPipPip
  • 62 posts

Posted 28 September 2018 - 10:17 AM

 
 

  • 0



Reply to this topic



  



 

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Community Skin by Fredson Nunes Junior